Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

.htaccess rewrite rule error

Discussion in 'General Discussion' started by ravengamma, Oct 6, 2013.

  1. ravengamma

    ravengamma Registered

    Joined:
    Oct 6, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi,

    I added RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L] to delete the last / of an URL, but now my website is messed up, how can I undo this change?

    I deleted the line, but still when i try to push the link I get: The requested URL /home/nicolke113/domains/domain.com/public_html/About was not found on this server.

    Thanks,

    ravengamma
     
  2. ravengamma

    ravengamma Registered

    Joined:
    Oct 6, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Stupid me, I forgot the delete my cache. Everything is ok now.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice