• I have several URLs which are all redirecting to http://www.ontrendbridal.com.au. These URLs seem to appear in a web.config file but some of them are redirecting to subfolders within the website http://www.ontrendbridal.com.au/(name of subfolder) but I cannot see where the redirection appears – here’s an example of one which is doing it incorrectly (below): My question: Is there another file which could be overriding these instructions in the web.config that is causing this redirection – any help would be greatly appreciated – thanks, Kerrie

    <rule name=”stradbrokeislandweddings.com.au” stopProcessing=”true”>
    <match url=”.*” />
    <conditions>
    <add input=”{HTTP_HOST}” pattern=”^(www.)?stradbrokeislandweddings.com.au” />
    <add input=”{PATH_INFO}” pattern=”^/ontrendbridal” negate=”true” />
    </conditions>
    <action type=”Rewrite” url=”\ontrendbridal\” />
    </rule>

Viewing 3 replies - 1 through 3 (of 3 total)
  • That looks like IIS code for windows servers.

    Typically wordpress sites are on apache servers which uses the .htaccess file for redirects ( located in site’s root folder on the server)

    if you have ftp access you should be able to see it.

    there could also be a 301 redirect plugin so you can check in plugins for something like that that may have different redirects.

    Thread Starter OnTrendBridal

    (@ontrendbridal)

    Thank you so much mintegrate. I have found the redirect codes which were in the header.php file so I have corrected them – I really appreciate your reply. I am now trying to locate the code to change the colour at the top of my pages – can’t find it in header.php, style.css or custom-style.css – I don’t have an .htaccess file. Any thoughts? thanks, Kerrie

    You are talking about the pink navigation bar at the top? This is in your style.css file:

    #secondary-menu {
       width: 100%;
       /* background: #333; */
      background: #fdeae9;
      position: relative;
    }

    That background is the pink color you can change that or add the following to the bottom of the stylesheet in Appearance > Editor (this would change it to the hexidecimal for a dark grey color)

    #secondary-menu {
      background: #333333
    }
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘REDIRECTING URLs’ is closed to new replies.