Hi Guys, I am completely new to mod_rewriting stuff, can you tell me if it is possible to mod_rewrite our portal www.techarena.in ? I am using a News Script named Virtuanews for our portal and would need to turn all the dynamic links (.php) to .html Please guide me through the process of beginning with this stuff, I will setup a test portal and start working on this. Need to completely SEO this portal . Thanks in Advance,
You can change ANY URL. You just need to know how to edit the script to change the links. We can give you the .htaccess code. Give us current URLs, and how you want them.
Hello Nintendo, First i appreciate your immediate reply to my query, Big thanks. Since i am completely new to modrewriting, not aware how to begin with, can you kindly possibly spend some minutes checking the our portal ? I will take your suggestions on SEO our portal script. There are some important pages/sections on our portal which needs to be mod_rewritten: We are an I.T. based portal, news posts made every hour: http://www.techarena.in/comments.php?shownews=3333 We have 5 news categories to categorize our news posts: Main News: http://www.techarena.in/index.php?action=news&catid=1 Software News: http://www.techarena.in/index.php?action=news&catid=2 Hardware News: http://www.techarena.in/index.php?action=news&catid=3 Gaming News: http://www.techarena.in/index.php?action=news&catid=4 Security News: http://www.techarena.in/index.php?action=news&catid=5 News Archive - http://www.techarena.in/archive.php Other Important Sections: Articles Section: http://www.techarena.in/articles.php Guides: http://www.techarena.in/articles.php?action=cat&id=9 Reviews: http://www.techarena.in/articles.php?action=cat&id=8 Download Section: (If i find a better alternative to software download system, i am planning to migrate to same) http://www.techarena.in/modules.php?modid=2 Contact Us Form: http://www.techarena.in/modules.php?modid=6 About Us: http://www.techarena.in/aboutus.php I am planning to replace the WebLinks Section of our domain with CpLinks or PHpLinksDirectory *learned the same from Digitpoint forums.* Warm Regards,
domain.com/.htaccess Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^coments/(.*).html$ comments.php?shownews=$1 [L] RewriteRule ^news/(.*).html$ index.php?action=news&catid=$1 [L] RewriteRule ^categories/(.*).html$ articles.php?action=cat&id=$1 [L] RewriteRule ^other/(.*).html$ modules.php?modid=$1 [L] RewriteRule ^articles.html$ articles.php [L] RewriteRule ^aboutus.html$ aboutus.php [L] Now change the links in the script..... ** is the part of the URL that changes, the number. http://www.techarena.in/comments.php?shownews=** http://www.techarena.in/coments/**.html http://www.techarena.in/index.php?action=news&catid=** http://www.techarena.in/news/**.html http://www.techarena.in/articles.php?action=cat&id=** http://www.techarena.in/categories/**.html http://www.techarena.in/modules.php?modid=** http://www.techarena.in/other/**.html http://www.techarena.in/articles.php http://www.techarena.in/articles.html http://www.techarena.in/aboutus.php http://www.techarena.in/aboutus.html
Thanks Nintendo, I am just setting up a test portal on one of the sub-domains, will reply back with all the acheiements back again in few hours. Warm Regards,
It might need to be different for a sub domain. Sub-directory might be a better place to test it. RewriteBase /test/
http://www.jobs-update.blogspot.com/ Experienced http://www.jobs-update.blogspot.com/ ITSoftware http://www.jobs-update.blogspot.com/ Freshers