Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1530
  • Last Modified:

Website Suspended - Edit .htaccess file

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
fingwong
Asked:
fingwong
  • 4
  • 3
  • 2
1 Solution
 
Randy DownsOWNERCommented:
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
 
RedLondonCommented:
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
 
fingwongAuthor Commented:
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
fingwongAuthor Commented:
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
 
Randy DownsOWNERCommented:
If you ping the site do you get the ip of the new host?
0
 
Randy DownsOWNERCommented:
You may want to flush DNS like this from a command prompt

ipconfig /flushdns
0
 
RedLondonCommented:
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
 
Randy DownsOWNERCommented:
You can also do a whois to see if your site new name server are being listed
0
 
fingwongAuthor Commented:
Really strange but unsuspending and resuspending did the trick!

Thanks very much

Nick
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now