URL rewrite not working on second site (iis)

This forum is for issues with installing Joomla! 2.5 (All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5.) on IIS webservers.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
donnavale
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Mar 30, 2015 1:07 pm

URL rewrite not working on second site (iis)

Post by donnavale » Mon Mar 30, 2015 1:28 pm

Joomla sites created on hosting with iis. The first site was created before the permanent domain name was available so it was created as http://www.firmandoors2.byethost32.com/. I used this to create and develop the site. Once the permanent domain name was transferred I copied the site to the new domain folder and it works fine, apart from the url rewrite. The new site is http://www.firmandoors.co.uk/ and is fine with the url rewrite switched off (index.php in the url)but if switched on in global configuration it won't find any of the sub pages. The original site works fine with url rewrite. I have tried changing web.config.txt to web.config on the new site, although on the old site it's web.config.txt and works fine.

I've checked everything I can and cleared the cache, does anyone have any idea where I'm going wrong? They are both pointing to the same database so it's not a database issue and I've checked the configuration files.

Any help would be appreciated.

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4025
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

Re: URL rewrite not working on second site (iis)

Post by itoctopus » Mon Apr 06, 2015 2:44 pm

Make sure you renamed the web.config.txt to web.config in the main directory of your Joomla website. IIS uses the web.config file and not the .htaccess file.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter


Locked

Return to “Joomla! 2.5 on IIS webserver”