Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Cezar,

    Sorry for the issues with your categories. The permalinks format you’re showing differ from the URLs you put in the post. This is because the Categories won’t be using the permalink format (only your posts and pages). We don’t have enough information to isolate the cause of your issues, but I can name few possibilities:

    • I’ve seen category pages NOT appear when they don’t have any posts assigned to them. They appear normally if you have at least one post assigned to the category. If your URLs are category links, please try assigning a post and testing.
    • Another possibility is that the .htaccess affecting your site is in a folder above your WordPress installation folder. Though, this only going to happen if you didn’t install your site to your document root.
    • Make sure that you don’t have another plugin setup – like a maintenance mode plugin – that is preventing proper access and causing the redirect.

    When I try to visit your med-spa specials page, I’m immediately re-directed to the home page. So something is redirecting your URL. My money would be on an .htaccess file that you’re just not seeing, but it’s hard to tell without actually seeing your installation.

    Also, it appears you’re using “category” as a base for your Category URLs. You can shorten your URLs by simply using the default period (“.”) in the Category section of the permalinks page. You don’t have to do this, but it helps to keep things simple and short when you’re sorting out a site issue.

    Apologies if this isn’t of any help. I hope it touches on the issue your having and leads you to a resolution.

    Regards and Happy New Year!
    Arnel C.

    • This reply was modified 5 years, 2 months ago by Arnel C..
    Thread Starter Cezar Ayran

    (@ayrancd)

    Hi there,

    For your information. Those links are in my Post Category page under WP Admin. This is my htaccess in the View link. This category has 2 posts https://greenbergcosmeticsurgery.com/blog/category/medspa-specials/

    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END WordPress are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <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

    #GZIP

    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
    </IfModule>

    <IfModule mod_mime.c>
    # Text
    AddType text/css .css
    AddType application/x-javascript .js
    AddType text/html .html .htm
    AddType text/richtext .rtf .rtx
    AddType text/plain .txt
    AddType text/xml .xml

    # Image
    AddType image/gif .gif
    AddType image/x-icon .ico
    AddType image/jpeg .jpg .jpeg .jpe
    AddType image/png .png
    AddType image/svg+xml .svg .svgz

    # Video
    AddType video/asf .asf .asx .wax .wmv .wmx
    AddType video/avi .avi
    AddType video/quicktime .mov .qt
    AddType video/mp4 .mp4 .m4v
    AddType video/mpeg .mpeg .mpg .mpe

    # PDF
    AddType application/pdf .pdf

    # Flash
    AddType application/x-shockwave-flash .swf

    # Font
    AddType application/x-font-ttf .ttf .ttc
    AddType application/vnd.ms-fontobject .eot
    AddType application/x-font-otf .otf

    # Audio
    AddType audio/mpeg .mp3 .m4a
    AddType audio/ogg .ogg
    AddType audio/wav .wav
    AddType audio/wma .wma

    # Zip/Tar
    AddType application/x-tar .tar
    AddType application/x-gzip .gz .gzip
    AddType application/zip .zip
    </IfModule>

    <IfModule mod_expires.c>
    ExpiresActive On

    # Text
    ExpiresByType text/css A31536000
    ExpiresByType application/x-javascript A31536000
    ExpiresByType text/html A3600
    ExpiresByType text/richtext A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xml A3600

    # Image
    ExpiresByType image/gif A31536000
    ExpiresByType image/x-icon A31536000
    ExpiresByType image/jpeg A31536000
    ExpiresByType image/png A31536000
    ExpiresByType image/svg+xml A31536000

    # Video
    ExpiresByType video/asf A31536000
    ExpiresByType video/avi A31536000
    ExpiresByType video/quicktime A31536000
    ExpiresByType video/mp4 A31536000
    ExpiresByType video/mpeg A31536000

    # PDF
    ExpiresByType application/pdf A31536000

    # Flash
    ExpiresByType application/x-shockwave-flash A31536000

    # Font
    ExpiresByType application/x-font-ttf A31536000
    ExpiresByType application/vnd.ms-fontobject A31536000
    ExpiresByType application/x-font-otf A31536000

    # Audio
    ExpiresByType audio/mpeg A31536000
    ExpiresByType audio/ogg A31536000
    ExpiresByType audio/wav A31536000
    ExpiresByType audio/wma A31536000

    # Zip/Tar
    ExpiresByType application/x-tar A31536000
    ExpiresByType application/x-gzip A31536000
    ExpiresByType application/zip A31536000

    # Webfonts
    ExpiresByType application/x-font-ttf “access plus 1 month”
    ExpiresByType font/opentype “access plus 1 month”
    ExpiresByType application/x-font-woff “access plus 1 month”
    ExpiresByType image/svg+xml “access plus 1 month”
    ExpiresByType application/vnd.ms-fontobject “access plus 1 month”

    <FilesMatch “\.(?i:css|js|htm|html|rtf|rtx|txt|xml|gif|ico|jpg|jpeg|jpe|png|svg|svgz|asf|asx|wax|wmv|wmx|avi|mov|qt|mp4|m4v|mpeg|mpg|mpe|pdf|swf|ttf|ttc|eot|otf|mp3|m4a|ogg|wav|wma|tar|gz|gzip|zip)$”>
    <IfModule mod_headers.c>
    Header set Cache-Control “public, must-revalidate, proxy-revalidate”
    Header unset ETag
    </IfModule>
    </FilesMatch>

    # php — BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php71” package as the default “PHP” programming language.
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php71 .php .php7 .phtml
    </IfModule>
    # php — END cPanel-generated handler, do not edit

    Thread Starter Cezar Ayran

    (@ayrancd)

    Anyone? :/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blog Categories going to Homepage’ is closed to new replies.