Can you please help me in forming the Rewrite Rule for the URL http://www.skinrxclinic.com/cat.php?cat_ID=8&page=1&cat=Healing+Center&sub=Acne+Scarring I am new here and want Mod Rewrite for the website http://www.skinrxclinic.com It will be a great help.
I don't think anybody is going to answer your question because it's pretty evident that you're just here to spam your links.
Bryce may be right, but I think staff must take notice of this thread and review it as per rules. Here is user's rating am replying to http://forums.digitalpoint.com/itrader.php?u=93263 What you privately messaged me about was: The problem is the new url you want does not have the category id, what Ican do for you is transate: "http://www.skinrxclinic.com/Healing-Center-8/Acne-Scarring/page1" While will load page "http://www.skinrxclinic.com/cat.php?cat_ID=8&page=1&cat=Healing-Center&sub=Acne-Scarring" Put followng .htaccess in root of your domain. Make sure to back existing .htaccess if any In which you can later remove '-' signes from categoeies names using php's function str_replace. regards
There is a web app that finds rewrite rules for you. They may not be completely to your needs but they are good enough just search URL re-writing application in google, is near top
Hi Vooler, Thanks for your time for me. I placed the exact code in .htaccess but didn't find any change in URL of the website. Can you please advice me if I need any changes. Please provide me the easiest URL rewrite code ...what ever it is ....I don't want the previous expected URL How long it takes to reflect in the website after updating .htaccess ? I also appreciate the suggestion provided by projectWORD. Thanks!
This code will not change the URLs in your site, it will simply access call the URL http://www.skinrxclinic.com/cat.php?cat_ID=8&page=1&cat=Healing-Center&sub=Acne-Scarring when someone access http://www.skinrxclinic.com/Healing-Center-8/Acne-Scarring/page1. To reflect these changes in your site, you must change your site code to incorporate these changes.
Hi mwasif, Can you please tell me where can I change the site code? and what I need to place ...please provide me as details as possible.
Hi free1free Try this, save as .htaccess file and upload in root as http://www.skinrxclinic.com/.htaccess RewriteEngine on RewriteRule ^/?(.*)-([0-9]*)-(.*)-([0-9]*)$ cat.php?cat_ID=$2&page=$4&cat=$1&sub=$3 [L] Code (markup): The try browsing this url http://www.skinrxclinic.com/Healing+Center-8-Acne+Scarring-1 If still it does not work, then send me FTP information I will configure myself. regards
Hi Vooler, Thanks a lot. The URL http://www.skinrxclinic.com/Healing+Center-8-Acne+Scarring-1 is working. But I want to browse the same URL when I click the links from my website. I want to change the URLs of my site. What do I need?
Exactly, as mwasif said. What is the system you are running, is it templates based or all in code. Probably the index.php that is responsible for creating urls, if badly coded, otherwise there must be templates where links can be changed. regards
It is all in code like ..... <a href="cat.php?cat_ID=<?php echo $a_ch_row['ID']; ?>&page=1&cat=<?php echo urlencode("Anti-Aging"); ?>&sub=<?php echo urlencode($a_ch_row['name']); ?>"><?php echo htmlentities($a_ch_row['name']); ?></a>
Backup the scipr first. IMPORTANT: remember to include absolute path such as 'http://www.skinrxclinic.com/' in prefix, becuase SEO'd urls act differently. Try this now: regards