Website down -error message -help!

Category: Wordpress

theartsandcraftsplace
Asked:
2013-05-03 12:47 pm EST

Hits: 422
I am getting this error message:

RewriteCond: bad argument line '%{R'

How do I fix this? I am using Wordpress.

Thanks!

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

JacobIMH
Staff
9,968 Points
2013-05-03 1:02 pm EST
Hello theartsandcraftsplace, and thank you for your question.

I've gone ahead and resolved this error for you. For future reference, you can use our guide on where is my .htaccess file located to take a look at your .htaccess file which had the broken RewriteCond in it. It looks almost as if the default WordPress rewrite code had been duplicated, but not completely.

This is what you had before I made changes, with the problem highlighted in red:

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{R

# 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


This is what is left now:


# 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


I went ahead and tested the site and it looks like it should be working again now. If you're still having any issues at all, or have any further questions, please feel free to let us know!

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!