• Hi Team,

    I have been facing one strange issue with .htacess

    In Permalink i have set the structure to post-name and with this option .htaccess generated is :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Now the issue is, earlier everything was working fine but recently i am facing 500 Internal Server Error, not everytime but whenever i tried to delete more than 3 posts or try to upload a csv with only 50 records in it. Also i have been getting “Service Unavailable” message every now and then.

    Now while troubleshooting i tried everything but nothing helped then i checked with my hosting provider (godaddy) after hours they updated me that my .htaccess is creating issue and asked to change Permalink structure to Default, i tried changing the same and .htaccess generated with this option is below :-

    # BEGIN WordPress
    
    # END WordPress

    After this i tried to the tasks on which i was getting 500 error but to my surprise now everything was working, now i was able to delete upto 200 posts and i was able to upload a csv with 250 records.

    Just to double check i rolled back the Permalink structure to Post Name and again the same issue started.

    Please suggest what could be possible reason and how can i sort it out by keeping permalink to Post Name.

    PFB other details :-

    Server :- Godaddy (Shared) Unlimited Bandwidth and Space.
    WP version :- 4.5.2
    Theme :- CouponXL 3.7

    Thanks,
    Vineet Sharma

Viewing 7 replies - 1 through 7 (of 7 total)
  • jack randall

    (@theotherlebowski)

    let’s try setting your theme back to the default wordpress theme and deactivating all your plugins. setting the permalinks back to the default and then clear your browser cache and refresh the page and try again to see if the issue reappears.

    Thread Starter vineet03

    (@vineet03)

    Hi Jack,

    Thanks for the reply, i have tried that and earlier as well, with these settings it works fine. Issue comes up only when i am trying to permalink structure to Post Name.

    Thanks,
    Vineet SHarma

    jack randall

    (@theotherlebowski)

    but do things work when you’re in a fully default mode? if they do then it’s likely that a plugin or theme is causing your problem.

    Do the permalinks also fail when set to Day and name?

    Thread Starter vineet03

    (@vineet03)

    @ jack randall : Yes, things works perfectly file in default mode even if I am using the current theme. Seems like it’s a plugin issue, I am testing plugin one and will update soon.

    @mark – I haven’t tested that but surely i’ll give it a try and will update.

    Thanks

    jack randall

    (@theotherlebowski)

    activate the plugins one by one and see which one causes the issue, it might even be the theme! a bit of patient detective work is called for ??

    Thread Starter vineet03

    (@vineet03)

    Hi Jack,

    I tested the same but it doesn’t even plugin’s issue. ??

    Now i am changing the server and will see if it helps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issue with .htaccess’ is closed to new replies.