Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2704)
RIAST - Remove Index From Title (& Add Smart Title) For SEO
- For SMF 1.1.x and SMF 2.0.x
- Fully hook, no file modification for SMF 2.0.x.
1. Please do your own backup though every installation is backed up automatically.
2. On default the "- Index" can be seen on the browser as forum index page title and this mod when enabled will remove it.
3. This mod will now also change your forum title from "page title" to "forum name - page title".
4. Upon its successful installation, you will be directed to modsettings page where you can enable/disable this mod.
5. There is nothing fancy about this mod as it is just a simple trick to boost a bit of SEO (at least IMO).
6. You can test it in lower SMF 2.0.x and 1.1.x version too as IMO it should work just fine. ;)
7. For SMF 1.1x - this mod now requires Enhanced Mod Settings Page mod to be pre-installed (EMSPv100.zip is attached).
Thank you for using/testing it.
Yours friendly,
Abu Fahim Ismail.
BSD License. Feel free to modify accordingly but keep author's link if it is in there somewhere. ;)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fvalidator.w3.org%2Fimages%2Fvalid_icons%2Fvalid-xhtml10&hash=f3694497572838dc55641db875ff57107ebabaed) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fjigsaw.w3.org%2Fcss-validator%2Fimages%2Fvcss&hash=710d7530f8727db53c62cb8f44abbef39967e693)
Change Logs
#Version 1.3.0
- Rewriting the mod to fully use hooks for SMF 2.0.x
- Thus, no more file modifications.
#Version 1.2.1
- Fixing minor issues due to adding smart title.
#Version 1.2.0
- Add smart title instead of just removing index.
#Version 1.1.1
- Add option to turn it on and off.
#Version 1.1.0
- Covers both SMF version 1.1.x and 2.0.x
# Version 1.0.0
- Simply removes "- Index" from the forum title which can be seen in the browser.
not sure why but i've had this on my forum RC4 for ages and the index is still there
i just tried it on another forum RC5 and it didn't work?
i've done a full browser reset
i'm using safari on a mac
Not working on my forum :(
May I know what is your forum version, weerforum? I have just tested this on 2.0.2 forum last month and it was fine.
Quote from: Ahmad Rasyid Ismail on August 20, 2010, 03:31:12 AM
On default the "- Index" can be seen on the browser.
This mod simply will remove this "- Index" from the forum title.
Just to confirm, are you looking for this effect or something else?
Onely for to remove index from the url
http://weerforum.eu/index.php into http://weerforum.eu
That is removing index.php. You can use this mod here: http://custom.simplemachines.org/mods/index.php?mod=2709 i.e. RIPITP.zip to remove index.php in three main places (advisable) or RemoveIndexPhpFromUrl111.zip to remove index.php totally from your forum (not advisable as it breaks few things especially if you are using seo/sef mod).
Oeps i see many errors
You might have modified you Subs.php file most probably by portal mod. You may need to manually modify the relevant files if you want to continue. The mod also only support default curve theme. All other theme might have to be edited manually also. Do not proceed unless you know what you are doing.
I just updated the mod page with RIPFUC which stands for Remove Index.Php from URL completely. You might want to try that instead. This is safer than the previous one. You can revert back to me if there is any problem.
Quote from: Ahmad Rasyid Ismail on December 21, 2012, 04:15:51 AM
I just updated the mod page with RIPFUC ...
??? That's a classy acronym :o
Thanks for reminding me about that. I will change the name soon. :)
to me works perfectly! ;) ;) GJ ahmad
Quote from: Ahmad Rasyid Ismail on December 21, 2012, 04:15:51 AM
You might have modified you Subs.php file most probably by portal mod. You may need to manually modify the relevant files if you want to continue. The mod also only support default curve theme. All other theme might have to be edited manually also. Do not proceed unless you know what you are doing.
I just updated the mod page with RIPFUC which stands for Remove Index.Php from URL completely. You might want to try that instead. This is safer than the previous one. You can revert back to me if there is any problem.
Perfect Ahmad Rasyid Ismail
Thnx verry much ;)
You are welcome. If you face any problem at all with that mod, do ask for support in its thread here: http://www.simplemachines.org/community/index.php?topic=396728.0
Just installed, working perfectly for me
- http://pshomenation.x10.mx/smf/index.php?action=community
This mod is updated. Details are in the opening post (http://www.simplemachines.org/community/index.php?topic=396718.0).
- This mod will now also change your forum title from "page title" to "forum name - page title".
- Upon its successful installation, you will be directed to mod settings page where you can enable/disable this mod.
- For SMF 1.1x - this mod now requires Enhanced Mod Settings Page mod to be pre-installed (EMSPv100.zip).
Thank you ahrasis!
I have this mod working on my 2.0.8 forums! :)
Thank you. It will take sometimes before search engines populates their searches based on this new "smart" title (not really smart actually ;) ). Try to see its results after a month or so.
Updated to version 1.3.0 ;)
Change Logs
#Version 1.3.0
- Rewriting the mod to fully use hooks for SMF 2.0.x
- Thus, no more file modifications.
#Version 1.2.1
- Fixing minor issues due to adding smart title.
#Version 1.2.0
- Add smart title instead of just removing index.
#Version 1.1.1
- Add option to turn it on and off.
#Version 1.1.0
- Covers both SMF version 1.1.x and 2.0.x
# Version 1.0.0
- Simply removes "- Index" from the forum title which can be seen in the browser.
I found that with this mod (latest version with hook) installed and running on SMF 2.08 today 29 Aug 2014 that when I went to logout from my smf forum it wouldn't allow me...it couldn't find it's referer and I had to turn off and uninstall the mod to logout.
Can you please provide more details like your error log both from your forum side and server side? As this mod doesn't deal with login or logout or menu etc. It is also being tested live and failed to have such an error before. I need details of error and not a mere claim like this to help. Otherwise, IMO it could be caused by session time out or other mods.
Quote from: clownclone on August 28, 2014, 10:30:44 PM
I found that with this mod (latest version with hook) installed and running on SMF 2.08 today 29 Aug 2014 that when I went to logout from my smf forum it wouldn't allow me...it couldn't find it's referer and I had to turn off and uninstall the mod to logout.
Any other Mods installed?
Are you using a custom theme?
Any errors in the error logs? Apache, PHP, SMF?
Quote from: BurkeKnight on August 29, 2014, 05:27:39 AM
Quote from: clownclone on August 28, 2014, 10:30:44 PM
I found that with this mod (latest version with hook) installed and running on SMF 2.08 today 29 Aug 2014 that when I went to logout from my smf forum it wouldn't allow me...it couldn't find it's referer and I had to turn off and uninstall the mod to logout.
Any other Mods installed?
Are you using a custom theme?
Any errors in the error logs? Apache, PHP, SMF?
BurkeKnight
No other mods installed except my updates from earlier version
1. SMF 2.0.8 Update 1.0
2. SMF 2.0.7 Update 1.0
3. SMF 1.1.19 / 2.0.6 Update 1.0
Theme Settings - SMF Default Theme - Curve
This was the error message from smf log
'Unable to verify referring url. Please go back and try again.'
Please provide details of the error you mentioned. An error title won't help that much. SMF error log should be able to provide you with line of error, url of error etc. This will allow me to read and resolve the error properly. Thank you.
Quote from: ahrasis on August 29, 2014, 10:19:18 PM
Please provide details of the error you mentioned. An error title won't help that much. SMF error log should be able to provide you with line of error, url of error etc. This will allow me to read and resolve the error properly. Thank you.
Mod is no longer installed, so I'm not sure how helpful this will be.
06db8bf6299a04997a59032390978337
http://xxxxxxxxxxxxx.com/index.php?action=logout;e085fabb20=06db8bf6299a04997a59032390978337
'Unable to verify referring url. Please go back and try again.'
Thanks anyway
It is useful to determine whether it is coming from this mod or otherwise. And based on the details you provided, it is not from this mod. I believe this is an old bug supposedly to be resolved by SMF by version 2.0.4 onwards. I am not sure why this occurs to you though.
Though this mod doesn't do anything to the menu or its url or session time, just to be sure, I however have tested this mod again on fresh installed SMF version 2.0.8 and no such error occurs. Logout was just fine.
So, for the time being, I think I can safely conclude that your error is an isolated issue and has nothing to do with this mod.
Thanks Ahrasis :) Maybe I'll give the mod another try tomorrow.
clownclone
Hi,
First of all, many thanks for the great mod.
I am now on 2.0.9 and have just installed the mod.
All titles look great except the one on the main forum page which is now Forum Name - Forum Name - Index
In all other areas the title looks fine Forum Name - Page Title
Many thanks for your support!
The forum name should be just Forum Name while other page should Forum Name - Page Title. Are you using a custom theme? Can you attach your index.template.php file here?
Thank you for your reply ahrasis!
I am using the default theme. A few mods installed though I doubt any of them affects the page title.
Below is my index.template attached (with RIAST installed but disabled).
I have gone through it but cannot find anything so far. Can you list your mods?
Thank you very much for your support!
Here are my mods:
- Bad Behavior
- Change All Subjects
- Custom Blocks
- Ohara YouTube Embed
- TapaTalk for SMF
- Recent Forum Topics on Boardindex
Sorry. But haven't got time to test this recently. Will revert back once I managed to do that.
Quote from: ahrasis on February 14, 2015, 11:47:13 AM
Sorry. But haven't got time to test this recently. Will revert back once I managed to do that.
No problem! Once again, thank you for your support ahrasis!
Already Done
i tested it is perfect.
Hmm... Still not working as expected on my site :(