• Hello there,

    I’ve done the transition from http to https: for my website and I get an issue with the tags.

    It appears that when I click on a tag, it shows a blank page, since my website is in https…

    Do you have any idea how to fix it ?

    Thanks a lot 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • Can you give link to the page where it is happening. Meanwhile check by changing permalink to another and then changing back to current.

    Hello There,

    Whenever you make changes in URl structure you should always make sure that all your existing URLs are responding properly with 200 response code. If not you should redirect them with correct redirection reponse code 3xx. So you will not loose any webpage or its data.

    In this case you need to recheck if you have done redirection part properly.

    Thread Starter JeRetiens

    (@jeretiens)

    Hello,

    @surya Thanks !

    I’ve tried to change the permalink structure, still blank:
    Example page: https://jeretiens.net/exercices/

    I’ve run WP_debug, nothing revelant…

    @bryan: I have done redirections suggested by my hoster, in my .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{SERVER_PORT} 80
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteCond %{HTTP_HOST} ^jeretiens.be
    RewriteRule (.*) http://jeretiens.net/$1 [R=301,L]
    RewriteCond %{HTTP_HOST} ^www.jeretiens.be
    RewriteRule (.*) http://jeretiens.net/$1 [R=301,L]
    RewriteCond %{HTTP_HOST} ^jeretiens.org
    RewriteRule (.*) http://jeretiens.net/$1 [R=301,L]
    RewriteCond %{HTTP_HOST} ^www.jeretiens.org
    RewriteRule (.*) http://jeretiens.net/$1 [R=301,L]
    RewriteCond %{HTTP_HOST} ^jeretiens.fr
    RewriteRule (.*) http://jeretiens.net/$1 [R=301,L]
    RewriteCond %{HTTP_HOST} ^www.jeretiens.fr
    RewriteRule (.*) http://jeretiens.net/$1 [R=301,L]
    Redirect 301 /differentielle-de-lenergie-libre/ https://jeretiens.net/differentielle-de-lenergie-interne/
    </IfModule>

    Btw I don’t dare modify the second part of rewritecond (from alt domains to main domain)… For some reason, doing this .htaccess took me a while to ensure his efficience on my website… (I’m not comfy with that)

    Hello,

    Sorry for the late reply.

    Please go to Appearance > Editor > tag.php/archive.php/category.php (which your theme have)and look if the theme has added some http:// code manually there. If so then then replace that to https:// and save the changes. That should fix the issue for you.

    If still facing issue, check http:// codes under functions.php file for replacing it manually to https://.

    Hope that helps.

    Thank you.

    Thread Starter JeRetiens

    (@jeretiens)

    Hello Surya,

    Thanks for your reply.

    I only have a category.php (no tag.php or archive.php) with my actual theme and there is no mention of http:// inside…

    <?php $options = get_option('mh_options'); ?>
    <?php get_header(); ?>
    <div class="wrapper clearfix">
    	<div class="main">
    		<section class="content <?php mh_content_class(); ?>">
    			<?php mh_before_page_content(); ?>
    			<?php if (category_description()) { ?>
    				<section class="cat-desc">
    					<?php echo category_description(); ?>
    				</section>
    			<?php } ?>
    			<?php mh_loop_content(); ?>
    		</section>
    		<aside class="sidebar <?php mh_sb_class(); ?>">
        		<?php dynamic_sidebar('sidebar'); ?>
    		</aside>
    	</div>
    	<?php mh_second_sb(); ?>
    </div>
    <?php get_footer(); ?>

    I have other issues since I’ve done the transition to https (The research doesn’t work, I’ve lost my “likes/shares” on my posts, and the blank tags…).

    I will change my theme soon (I hope for september), do you think a clean theme will solve the tags and the research issue ?

    Tyvm

    Thread Starter JeRetiens

    (@jeretiens)

    Okay, I have news.

    This issue seems to be deeper than I thought.

    I tried to change my website theme and ALL appeared blank just under the header (only header was visible).

    So if I match informations:
    – HTTPS transition causes 3 bugs:
    1) Reset social counters (not a big deal, seems legit)
    2) Research function doesn’t work anymore
    3) This blank page when we try to access to a tag page

    I think that the .htaccess is a mess and causes those troubleshots because redirections are not proper. I may be wrong, I’m not a developer… but it’s probably a hint, because all of that happened after the .htaccess modification.

    I don’t know if someone could help me on this, I’d appreciate and be very grateful !

    Thread Starter JeRetiens

    (@jeretiens)

    I can’t edit…
    4th issue: scheduling doesn’t work anymore…

    Hello There,

    As I can see JeRetiens has provided all required information. If you still facing the issue then I would you to get in touch with developer.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Tag issue (page appears blank)’ is closed to new replies.