www.webdeveloper.com
Results 1 to 3 of 3

Thread: Newbie 301 .htaccss regular expression help

  1. #1
    Join Date
    Nov 2008
    Posts
    92

    Newbie 301 .htaccss regular expression help

    What I have now...

    Code:
    mydomain.com/myscript.php?category=fish&type=tuna
    I would like all links to end with &page=1 like the link below...

    Code:
    mydomain.com/myscript.php?category=fish&type=tuna&page=1
    Can anyone help?

    &page=1 is the page number that I added after I designed my website and google has saved all my links without &page=1, so I want to do a permanent 301 redirect. I tried to read up on regular expression, but I'm finding it difficult to understand. Can anyone help?

    Thanks guys.
    Last edited by Topkat; 10-05-2013 at 03:48 AM.

  2. #2
    Join Date
    Oct 2013
    Posts
    1
    The problem is that the browser's address bar text does not change from example.com to www.example.com. It seems the redirect actually works because all the links on the pages are changed to www. And after clicking on any link from there it always continues to have www added.http://http://saleformobilephone.blogspot.com

  3. #3
    Join Date
    Nov 2008
    Posts
    92
    Has this forum been over run with spammers?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles