Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: help with htaccess redirection

Hybrid View

  1. help with htaccess redirection

    Hi
    how can i redirect all the hits on my pages ending with index.php/blabla
    to index.php ?

    its for my wordpress blog.

    thanks in advance

  2. #2
    Hi,

    As we know I'm a dummy but I hope this is what your looking for.

    How to setup a 301 Redirect

    Butterflies Forever

    Sami
    Current Celebrity Gossip Movies & More TV Site
    Find out how I'm able to get up to 420 backlinks for month, by spending 30 seconds per day...all for FREE! - Click Here

  3. #3
    Redirect 301 /index.php/blabla /index.php
    Submit new proxies -


  4. #5
    Quote Originally Posted by MeetHere View Post
    can anybody provide full code for me to copy-paste ?
    This is the full code.

    Code:
    Redirect 301 /index.php/blabla /index.php
    Submit new proxies -

  5. #6
    MeetHere, the above code needs to be copy and pasted into a file named .htaccess that resides in the root directory of your web site. You may well already have this file on your site so download it first to edit rather than over-writing it. You can put the code right at the start of the file.

  6. hi
    sorry for the dumb question, but i want to redirect every page ending with index.php/ to main page.

    e.g. http://mortgage-refinance-credit.com...php/readcredit
    mortgage-refinance-credit.com/index.php/whatcredit

    TO www.mortgage-refinance-credit.com/

    Above code is not working.

  7. #8
    I'm still not clear on exactly what you want to do, but if you want to redirect any non-existent page to your home page, you can use an error 404 re-direct:

    Code:
    ErrorDocument 404 /index.php
    This should be placed at the top of the .htaccess file.

    There are better ways by using .htaccess rules though if you specify exactly what you want to happen.

  8. #9
    Quote Originally Posted by Andy101 View Post
    I'm still not clear on exactly what you want to do, but if you want to redirect any non-existent page to your home page, you can use an error 404 re-direct:

    Code:
    ErrorDocument 404 /index.php
    This should be placed at the top of the .htaccess file.

    There are better ways by using .htaccess rules though if you specify exactly what you want to happen.
    That will work, if the pages don't exist users will get redirected to your index

  9. I only want to redirect url's like (there are many of them)
    http://mortgage-refinance-credit.com...php/readcredit
    mortgage-refinance-credit.com/index.php/whatcredit

    TO www.mortgage-refinance-credit.com/

Page 1 of 2 12 LastLast

Similar Threads

  1. .htaccess
    By dodolls in forum Managing
    Replies: 6
    Last Post: 15 November, 2009, 07:58 AM
  2. Need Help with page redirection...
    By WebEvader in forum Programming
    Replies: 3
    Last Post: 4 October, 2009, 00:01 AM
  3. .htaccess help
    By Sami4u in forum Building
    Replies: 3
    Last Post: 14 September, 2009, 13:47 PM
  4. How to avoid blogger redirection window?
    By hendricius in forum Blogging
    Replies: 4
    Last Post: 31 August, 2009, 07:29 AM
  5. Need help with redirection...
    By WebEvader in forum Programming
    Replies: 5
    Last Post: 30 August, 2009, 21:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

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