• Resolved supah

    (@supah)


    Can anyone help me figure out why this is happening? The site is https://supah.com/

    I explored issues with settings on permalinks and .htaccess so far. I’m totally frustrated and on my 5th day of “trying stuff” to totally re-install the entire site and database (to fix from a pharma hack.)

Viewing 7 replies - 1 through 7 (of 7 total)
  • There might be some plugin installed / some restriction in your .htaccess settings thats why any url got redirected to home page.

    Checked link: https://supah.com/archives/portfolio_category/
    available-paintings-store

    Type of redirect: 301 Moved Permanently
    Redirected to: https://supah.com/

    Thread Starter supah

    (@supah)

    i deactivated all plugins and the problem still happened. I am on a hostway hosting account. (i don’t know if that is an issue, but I saw people with strange WP issues using godaddy.)

    Thread Starter supah

    (@supah)

    here is my .htaccess file – i’m not sure why the code is repeated.

    # 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 WordPressaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    # disable the server signature- helps with preformance
    ServerSignature Off
    
    # since it's out of fashion to use www- redirect URLs to non-www
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.website\.com$ [NC]
    RewriteRule ^.*$ https://website.com%{REQUEST_URI} [R=301,L]
    RewriteBase /
    # keep the URLs clean:
    # if someone asks for index.php- rewrite the URL without it
    RewriteRule ^(.*?)/?index\.php$ $1 [NC,R=301,L]
    # 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
    <Files wp-config.php>
    	Order Allow,Deny
    	Deny from all
    </Files>

    Kindly keep this part only and try it once

    # 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
    <Files wp-config.php>
    	Order Allow,Deny
    	Deny from all
    </Files>
    Thread Starter supah

    (@supah)

    i deleted ithemes security, saved your .htaccess and now SOME pages load!

    Only problem – the portfolio pages do not load. I’m much further than where i was.

    I don’t understand why this would continue to happen. Since the pretty links are virtual directories, (there’s no actual https://supah.com/portfolio/polly-siamese but that’s how they used to load before I recreated the website) I don’t understand how it works.

    Thank you grey – you have already helped me incredibly.

    It seems that you created some portfolio items in your WordPress admin panel. Those are visible here.

    This is one of those portfolio item.

    Thread Starter supah

    (@supah)

    This suddenly loaded! Thank you! I don’t really understand – perhaps it caught up with itself? I have no idea. Either way. I’m very grateful for your help and talking the issue out with me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Only home page loads’ is closed to new replies.