The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem with rewrite in htaccess

Discussion in 'EasyApache' started by alone_lover, Feb 8, 2016.

  1. alone_lover

    alone_lover Member

    Joined:
    Dec 2, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi
    I have a problem
    ( I wanna redirect an image to other image) in .htaccess file I used this command

    RewriteEngine On
    RewriteRule ^Aboli/Aboli.jpg$ 1.jpg [NC,L]

    but it doesnt work !!
    after updating cpanel I see this problem
    what shall I do right know?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please remove your custom entry use the "Redirects" option in cPanel. This will ensure the proper entries are added to the .htaccess file.

    Thank you.
     
Loading...

Share This Page