-
Hi Ishyoboy,
I had an internal server error 500 yesterday and the godaddy web support troubleshoot and renamed the htaccess file. After WP wrote a new file the website was ok again but I just wanted to know what was the cause so I don’t do it in future. He said it could be a permalink conflict problem. My WP set to permalink post name, and the Yoast seo was set to remove stop words. The code in htaccess had 122 pages of code (I started the website about 2-3 weeks).
This is the code
# WordPress SEO – XML Sitemap Rewrite Fix
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^locations.kml$ /index.php?sitemap=wpseo_local_kml [L]
RewriteRule ^geo_sitemap.xml$ /index.php?sitemap=geo [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
# END WordPress SEO – XML Sitemap Rewrite Fix
# 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
The code in bold will just repeat itself for 121 pages and finally the server probably came out error 500. Any idea how this might happen?
Sorry, this forum is for verified users only. Please Login / Register to continue
or get 6 months support forum access to all forum topics for a reduced price.
-
Support time:
Usually 4-8 hrs / might get up to 48 hrsSupport Us
If you are satisfied with our themes & support you can motivate us even more by supporting us (via Paypal).
Themes Support
- General 42
- Qusq Lite 9
- Qusq Pro 110
- Qusq HTML 12
- Ofis WP 0
- Hedy WP 27
- Wildster WP 41
- Tayp WP 44
- TinyShop WP 27
- Freelo WP 80
- Inverto WP 86
- Kreo WP 101
- Kopy WP 205
- Multicorp WP 194
- NO8 WP 266
- Leepho WP 46
- Boldial WP 1,119
- Minicorp WP 470
- Nalleto WP 152
- Zimney WP 10
- Creolio WP 76
Our Themes