www.webdeveloper.com
Results 1 to 3 of 3

Thread: Newbie 301 .htaccss regular expression help

Threaded View

  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 04:48 AM.

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