First, SEO-friendly URLs are a touch over-rated. Google, the 85% monster of search engines doesn't seem to care, but some others do. The best way to gain search engine ranking is to have relative content, and then to link to that relative content from multiple-disparate locations using relevant words linked to your content - through blog posts, article posts, etc.
However, you may want to look at the xoRewriteModule (more a hack than a module) which replaces /modules/modname/ with /newmodname/. I've used it on a formulize installation and it works just fine. However, you may also need to make a single modification to initialize.php per my article to accomodate this change because it's otherwise hard-coded in that page to go to /modules/modname/cat.php (when a simple cat.php) will work. Maybe I should commit the change to the SVN because it won't matter either way and it works for both.
Submitted by Julian Egelstaff on Sat, 10/16/2010 - 12:37am.
Hi Mark,
Sounds like a worthwhile change. Commit if you want to. Just grab the latest copy of the file first, since there's probably been other changes since you made your alteration.
Freeform Solutions is proudly supported by a grant from the Ontario Trillium Foundation, which builds healthy and vibrant communities in this great province. The Ontario Trillium Foundation is an agency of the Government of Ontario.
Comments
Re: SEO-friendly URLs
First, SEO-friendly URLs are a touch over-rated. Google, the 85% monster of search engines doesn't seem to care, but some others do. The best way to gain search engine ranking is to have relative content, and then to link to that relative content from multiple-disparate locations using relevant words linked to your content - through blog posts, article posts, etc.
However, you may want to look at the xoRewriteModule (more a hack than a module) which replaces /modules/modname/ with /newmodname/. I've used it on a formulize installation and it works just fine. However, you may also need to make a single modification to initialize.php per my article to accomodate this change because it's otherwise hard-coded in that page to go to /modules/modname/cat.php (when a simple cat.php) will work. Maybe I should commit the change to the SVN because it won't matter either way and it works for both.
Good luck!
Re: SEO-friendly URLs
Hi Mark,
Thanks for your comments.
Arjun
Please commit at your liesure
Hi Mark,
Sounds like a worthwhile change. Commit if you want to. Just grab the latest copy of the file first, since there's probably been other changes since you made your alteration.
Take it easy,
--Julian