Gelizzy88
Member
Posted 4 years ago #
I need someone to help me so bad. When i go to my blog's homepage, it redirects it to one of my blog post instead of going to the homepage. I didn't set this up like this and this just recently started happening after i published my latest blog post. I deleted the blog post and that still didn't help anything
My homepage should be:http://www.vivalavoiz.com but instead it goes straight to http://www.vivalavoiz.com/2009/01/congress%E2%80%A6please-bailout-the-porn-industry/
Somebody please help because i can't even get back to my homepage and i have no clue how it got like this. I already checked the settings to and that is set to my homepage but it still redirects
Gelizzy88
Member
Posted 4 years ago #
is anyone else having this problem?
Check your .htaccess files
RipRapRob
Member
Posted 4 years ago #
In Admin, try checking your settings under SETTINGS >> READING:
First setting: "Front page displays": Is the setting here "Your latest posts" or have you selected "A static page (select below)" by mistake?
/Rob
what ipstenu said. if htaccess check/fix not the problem, you might want to check index.php or home.php in the theme folder on your server, someone might have hacked your files to redirect to a page you didn't create re save porn something. Delete the index.php or home.php and reupload the "clean" file from your computer. Then go about hardening your WordPress - special mention to your database.
Gelizzy88
Member
Posted 4 years ago #
so what do i do to my htaccess files?
RipRapRob
Member
Posted 4 years ago #
Have you at one time made the page http://www.vivalavoiz.com/2009/01/congress%E2%80%A6please-bailout-the-porn-industry/ ?
If so, have you checked the setting I suggested?
Gelizzy88
Member
Posted 4 years ago #
ok so i deleted and and uploaded it again and it still isn't working. Now my site isn't coming up at all
ok so i deleted and and uploaded it again
what exactly did you delete and upload? please be specific
Gelizzy88
Member
Posted 4 years ago #
yes it did exists but i deleted it to see if it would fix the problem. it didn't
What's in your .htaccess? It should have this for WordPress:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Gelizzy88
Member
Posted 4 years ago #
i deleted the index.php and re uploaded it and now my blog isn't showing up at all.
Gelizzy88
Member
Posted 4 years ago #
where is my .htaccess files supposed to be located? I don't even see it. The only one i see that says.htaccess is included in a redirect plugin folder
It should be in the root of your public_html folder.
Is WordPress installed to a SubFolder or the main public_html folder?
WebDev WaxLotus LLC
Member
Posted 4 years ago #
The dot/fullstop/period in front of .htaccess tells *nix that this is a file that is normally hidden from the user, so you may not see it unless your file browser is set to show you the dot/hidden files.
Paste Ipstenu's code into a file you create using notepad (not Word etc) and ftp it to the root of your public_html folder (or where the index.php file was if using a subfolder like blog etc). You can get another copy of the index.php file from the wp2.7 source zip...
Gelizzy88
Member
Posted 4 years ago #
its installed in the public_html folder
Okay, then your index.php in your root should be:
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');
?>
And you should see a .htaccess file in that folder (you may have to turn on viewing of hidden files)
Gelizzy88
Member
Posted 4 years ago #
ok i found it.lol it was in hiding here is what its says
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Gelizzy88
Member
Posted 4 years ago #
this is what my index.php in the public_html says
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
Gelizzy88
Member
Posted 4 years ago #
Your .htaccess is fine.
Go into your wp-admin side, see if there are any users you don't recognize.
Gelizzy88
Member
Posted 4 years ago #
there is thisone new user because its an open blog. He signed up twice
Gelizzy88
Member
Posted 4 years ago #
could it be one of the users? how do i check it and fix it?
Gelizzy88
Member
Posted 4 years ago #
oh so i have been hacked??
It's a possibility, but the debugging methods of a hack are about the same for this so... Assume the worst and be surprised if it's not.
Gelizzy88
Member
Posted 4 years ago #
ok i see a file in my wp-content that wasn't there before. It wont delete and i have tried to delete it. It won't go away
Gelizzy88
Member
Posted 4 years ago #
gt-cache is from the global translator plugin, you can probably leave it alone.