10 replies
Hi Warriors,

I have a problem with WP blog. I amusing a php redirect for header banner. The problem is it works fine from the index page but gives page not found error when you try it from any other page.

I noticed that in the status bar the path has automatically changed defaulting to the page which is being browsed and not pointing to the folder where the redirect script is.

For example when I am at the index page

it shows up as www.mydomain.com/blog/ product.php and when i am at any other other page it changes to www.mydomain.com/blog/371/postname/product.php.

Is there any way to stop it happening.

Any help would be much appreciated.

cheers

Melvin
#problem #wordpress
  • Profile picture of the author Aare
    did u add the header link manually??? if yes.. then you'll need to update all the link on the pages one by one...

    Signature
    God bless us all!
    {{ DiscussionBoard.errors[509542].message }}
    • Profile picture of the author melvinm
      thanks for your reply, I am using revolution theme, so there is an option to add it. cheers
      Signature

      In Impossible you will find I am possible.

      {{ DiscussionBoard.errors[509554].message }}
      • Profile picture of the author Aare
        revolution theme is a paid wp theme, thats called as "call back" did u purchase it legally or download it from somewhere else?
        Signature
        God bless us all!
        {{ DiscussionBoard.errors[509581].message }}
  • Profile picture of the author ecoverdesign
    Hi Melvin,

    I am not sure how the redirect script works but you could try to add the absolute url instead of a relative path e.g http://yourdomain.com/blog/product.php instead of product.php
    That should solve the problem.

    Thomas
    Signature

    Graphics Design, Development and Webmaster Services
    http://www.tbitdesign.com

    {{ DiscussionBoard.errors[509644].message }}
    • Profile picture of the author melvinm
      Hi Thomas,

      I tried that, it still doing the same thing.

      cheers
      Melvin
      Signature

      In Impossible you will find I am possible.

      {{ DiscussionBoard.errors[509657].message }}
  • Profile picture of the author zeurois
    point to /blog/product.php or what ecoverdesign said (the full url)
    {{ DiscussionBoard.errors[509653].message }}
  • Profile picture of the author zeurois
    You might want to change your permalinks structure as well. It's not SEO.

    Use /%postname%/

    This will also point to your file correctly.
    {{ DiscussionBoard.errors[509693].message }}
    • Profile picture of the author melvinm
      Hey that did the trick !!!! Thank you ! I changed everything to default ( don't know the implication of it) but hey that solved the problem.



      Originally Posted by zeurois View Post

      You might want to change your permalinks structure as well. It's not SEO.

      Use /%postname%/

      This will also point to your file correctly.
      Signature

      In Impossible you will find I am possible.

      {{ DiscussionBoard.errors[509729].message }}
  • Profile picture of the author pyrmontvillage
    The Power of WF, all the answers at your fingertips!
    {{ DiscussionBoard.errors[509858].message }}
  • Profile picture of the author alankay
    Try changing the permalink structure ...
    {{ DiscussionBoard.errors[510024].message }}

Trending Topics