MyBB Community Forums

Full Version: [Solved] Url Links are changed and 404 error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Recently i just edit the file ./inc/class_parser.php in line 858
PHP Code:
$link = "<a href=\"$fullurl\" target=\"_blank\">$name</a>";
replace with:
PHP Code:
$link = "<a href=\"$fullurl\" target=\"_blank\" rel=\"nofollow\">$name</a>";

but after i did that all my forum and thread links of index page is changed.
such as,
instead of this
http://www.bdplay.com/showthread.php?tid=5

that changes to...
http://www.bdplay.com/forum-5.html

I have no idea what is going wrong. I have deleted the rel=\"nofollow\" but the problem exists...
Re-Upload class_parser.php. Sleepy
Disable the MyBB Search Engine Friendly setting...
(2009-08-15, 08:12 AM)frostschutz Wrote: [ -> ]Disable the MyBB Search Engine Friendly setting...

Thank you very much. The links are now OK. Big Grin

And the class_parser.php still has rel="nofollow" and working fine too.

Well actually i did not replaced the .htaccess that comes with mybb, that is why it was not working...

Now rel="nofollow" and Search Engine Friendly setting both are working fine. Big Grin