Solved

Website Suspended - Edit .htaccess file

Posted on 2013-06-15
9
1,415 Views
Last Modified: 2013-06-15
Hi

Recently I had some trouble with my VPS.

They suspended my account without notice as I was running an old version of Wordpress.

Anyway, after they suspended my account I decided to migrate and after the migration, the account is still showing up as "suspended" on my new VPS. I believe from digging around it has something to do with information in the .htacess file.

I think I need to edit it and remove some entries.  Not being familiar with this technology I was wondering if anybody can help me out with what to get rid off??

Here is the content of it now:-

# BEGIN WordPress
<IfModule mod_rewrite.c>

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

# END WordPress

Any ideas please experts?
0
Comment
Question by:fingwong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 30

Expert Comment

by:Randy Downs
ID: 39250457
Where are you seeing a suspended message? When you migrated to another host did you change the name servers at the registrar?

Your htaccess file doesn't do anything other than send the user to index,php. Is this a suspension page?

Note you can comment lines out like this:

#RewriteRule . /index.php [L]

Open in new window

0
 
LVL 11

Expert Comment

by:RedLondon
ID: 39250459
Did you transfer from one cPanel host to another using the cPanel backup file?

The 'Suspended' flag on your account could still be set if you're seeing your www.domain.com site be redirected to www.domain.com/cgi-sys/suspendedpage.cgi.  Only someone with access to WHM (ie the server's admin or the reseller that holds your account) could shift that.
0
 

Author Comment

by:fingwong
ID: 39250460
Hi

The nameservers are correctly pointed now to the new web host providers.

i am seeing the suspended page when i browse to the website.

Hope this helps

Thanks
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Author Comment

by:fingwong
ID: 39250462
Yes it was a full cpanel backup and yes it shows the path you mention when i browse the site.  However i have access to WHM and it doesn't appear as a suspended site in there?
0
 
LVL 30

Expert Comment

by:Randy Downs
ID: 39250468
If you ping the site do you get the ip of the new host?
0
 
LVL 30

Expert Comment

by:Randy Downs
ID: 39250470
You may want to flush DNS like this from a command prompt

ipconfig /flushdns
0
 
LVL 11

Accepted Solution

by:
RedLondon earned 500 total points
ID: 39250474
I've no evidence it'd work, but I'd suspend it in WHM again and unsuspend it so you can be sure it's properly unsuspended on your new server... but don't do that to your own account (ie don't do it if you're logged into WHM using the same username you're struggling with - I don't know what that would do - it could be like chopping your own legs off!)

Try visiting with a different browser (ie if you're using Chrome, use Firefox) to see if it's *really* still redirecting.  I've seen browsers locally caching the redirect instruction.
0
 
LVL 30

Expert Comment

by:Randy Downs
ID: 39250475
You can also do a whois to see if your site new name server are being listed
0
 

Author Closing Comment

by:fingwong
ID: 39250477
Really strange but unsuspending and resuspending did the trick!

Thanks very much

Nick
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question