Wordpress Homepage blank but other workingRewrite rule for subfolderWant to Change URL from www.domain.com/home to www.domain.comhtaccess url re-styling image url to seo friendlyRedirect 301 .htaccess not workingPermalinks do not work on Wordpress + centos7Infinite loop old index file old WP installation to NewWordPress admin pages redirecting to homepageWordpress permalinks does not work on server404 issue in two htaccess in root domain and subfolerNot working my .htaccess and config files

Old story where computer expert digitally animates The Lord of the Rings

Why was Pan Am Flight 103 flying over Lockerbie?

Other homotopy invariants?

Are the Gray and Death Slaad's Bite and Claw attacks magical?

What is the function of const specifier in enum types?

Why is my external HDD active when I'm not using it?

Why doesn't SpaceX land boosters in Africa?

How to install gcov-tool to RHEL?

Are all notation equal by derivatives?

Are there advantages in writing by hand over typing out a story?

What prevents a US state from colonizing a smaller state?

Disk usage confusion: 10G missing on Linux home partition on SSD

What happened to the Apollo 1 rocket?

How to track mail undetectably?

Using quotation marks and exclamation marks

German idiomatic equivalents of 能骗就骗 (if you can cheat, then cheat)

Why will we fail creating a self sustaining off world colony?

Can I deep fry food in butter instead of vegetable oil?

Angular: Using ComponentFactoryResolver for dynamic instantiation of the components, rendering inside SVG

usage of y" not just for locations?

A quine of sorts

What is the meaning of "it" in "as luck would have it"?

Tricky riddle from sister

What caused the flashes in the video footage of Chernobyl?



Wordpress Homepage blank but other working


Rewrite rule for subfolderWant to Change URL from www.domain.com/home to www.domain.comhtaccess url re-styling image url to seo friendlyRedirect 301 .htaccess not workingPermalinks do not work on Wordpress + centos7Infinite loop old index file old WP installation to NewWordPress admin pages redirecting to homepageWordpress permalinks does not work on server404 issue in two htaccess in root domain and subfolerNot working my .htaccess and config files













0















I currently have this .htaccess file inside my wordpress folder.



# 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

Redirect 301 / http://afh.asso.fr/presentation


I wanted to redirect http://afh.asso.fr to http://afh.asso.fr/presentation



How is that possible with my current .htaccess file ?



Thank you so much for any help, I really appreciate it :)



Explained otherwise:
I have this website that works fine :
https://afh.asso.fr/avec-lafh/qui-sommes-nous/histoire-de-lafh-en-video/



Every page is ok.



But http://www.afh.asso.fr is not ok (the home page).



How could I redirect this afh.asso.fr to another page, specifying the url myself in a .htaccess file for example ?



I already have .htaccess file for wordpress.



Thanks in advance for any help!










share|improve this question
























  • Any help, please?

    – Julien
    Mar 25 at 17:50















0















I currently have this .htaccess file inside my wordpress folder.



# 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

Redirect 301 / http://afh.asso.fr/presentation


I wanted to redirect http://afh.asso.fr to http://afh.asso.fr/presentation



How is that possible with my current .htaccess file ?



Thank you so much for any help, I really appreciate it :)



Explained otherwise:
I have this website that works fine :
https://afh.asso.fr/avec-lafh/qui-sommes-nous/histoire-de-lafh-en-video/



Every page is ok.



But http://www.afh.asso.fr is not ok (the home page).



How could I redirect this afh.asso.fr to another page, specifying the url myself in a .htaccess file for example ?



I already have .htaccess file for wordpress.



Thanks in advance for any help!










share|improve this question
























  • Any help, please?

    – Julien
    Mar 25 at 17:50













0












0








0








I currently have this .htaccess file inside my wordpress folder.



# 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

Redirect 301 / http://afh.asso.fr/presentation


I wanted to redirect http://afh.asso.fr to http://afh.asso.fr/presentation



How is that possible with my current .htaccess file ?



Thank you so much for any help, I really appreciate it :)



Explained otherwise:
I have this website that works fine :
https://afh.asso.fr/avec-lafh/qui-sommes-nous/histoire-de-lafh-en-video/



Every page is ok.



But http://www.afh.asso.fr is not ok (the home page).



How could I redirect this afh.asso.fr to another page, specifying the url myself in a .htaccess file for example ?



I already have .htaccess file for wordpress.



Thanks in advance for any help!










share|improve this question
















I currently have this .htaccess file inside my wordpress folder.



# 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

Redirect 301 / http://afh.asso.fr/presentation


I wanted to redirect http://afh.asso.fr to http://afh.asso.fr/presentation



How is that possible with my current .htaccess file ?



Thank you so much for any help, I really appreciate it :)



Explained otherwise:
I have this website that works fine :
https://afh.asso.fr/avec-lafh/qui-sommes-nous/histoire-de-lafh-en-video/



Every page is ok.



But http://www.afh.asso.fr is not ok (the home page).



How could I redirect this afh.asso.fr to another page, specifying the url myself in a .htaccess file for example ?



I already have .htaccess file for wordpress.



Thanks in advance for any help!







wordpress .htaccess redirect






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 17:50







Julien

















asked Mar 25 at 17:00









JulienJulien

492 silver badges11 bronze badges




492 silver badges11 bronze badges












  • Any help, please?

    – Julien
    Mar 25 at 17:50

















  • Any help, please?

    – Julien
    Mar 25 at 17:50
















Any help, please?

– Julien
Mar 25 at 17:50





Any help, please?

– Julien
Mar 25 at 17:50










2 Answers
2






active

oldest

votes


















0














Try the below:



Redirect 301 / /avec-lafh/qui-sommes-nous/presentation/


EDIT:
It looks like your using WordPress too, can you not change your homepage to a visible page, to do this:



  • Go to settings

  • Click Reading

  • Select page you'd like to be the homepage.





share|improve this answer























  • Thank you, a page was already selected and it does not load this page... I really do not understand now...

    – Julien
    Mar 25 at 22:14











  • Which page is selected? Does it use a set template? You could try using front-page.php, this will be your homepage by default.

    – Jonny
    Mar 25 at 22:15











  • Thank you for your fast answer Jonny :) Whatever page I chose, it does not work. I tried with many, that are working otherwise on the website. What is front-page.php ? How can I set this up ?

    – Julien
    Mar 25 at 22:17











  • If you name a php file front-page.php and add some dummy text, see if it pulls into your homepage?

    – Jonny
    Mar 25 at 22:23











  • Where do I need to name that php file and put it ? Via FTP ?

    – Julien
    Mar 26 at 5:26


















0














You can insert a redirect rule before default WP front controller rule:



<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^/?$ presentation [L,R=301]

RewriteRule ^index.php$ - [L]

RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
</IfModule>


Regex ^/?$ will match landing page and redirect to /presentation with 301 status code.






share|improve this answer























  • Thank you so much for your answer. This redirection does not work, I still have the same blank page on Home and everything else working :(

    – Julien
    Mar 25 at 22:14












  • Yes, unfortunately…

    – Julien
    Mar 26 at 5:47











  • Test in Chrome dev tool with caching disabled and check in Networking tab what are 301/302 redirect URLs you get.

    – anubhava
    Mar 26 at 6:31











  • Thank you for your answer. I do not get any redirection, how is that even possible... I have two requests, one for favicon and one for afh.asso.fr.

    – Julien
    Mar 26 at 8:54












  • That means this htacceas is not being used. WP might be using some proxy plug-in

    – anubhava
    Mar 27 at 2:45













Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55342941%2fwordpress-homepage-blank-but-other-working%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Try the below:



Redirect 301 / /avec-lafh/qui-sommes-nous/presentation/


EDIT:
It looks like your using WordPress too, can you not change your homepage to a visible page, to do this:



  • Go to settings

  • Click Reading

  • Select page you'd like to be the homepage.





share|improve this answer























  • Thank you, a page was already selected and it does not load this page... I really do not understand now...

    – Julien
    Mar 25 at 22:14











  • Which page is selected? Does it use a set template? You could try using front-page.php, this will be your homepage by default.

    – Jonny
    Mar 25 at 22:15











  • Thank you for your fast answer Jonny :) Whatever page I chose, it does not work. I tried with many, that are working otherwise on the website. What is front-page.php ? How can I set this up ?

    – Julien
    Mar 25 at 22:17











  • If you name a php file front-page.php and add some dummy text, see if it pulls into your homepage?

    – Jonny
    Mar 25 at 22:23











  • Where do I need to name that php file and put it ? Via FTP ?

    – Julien
    Mar 26 at 5:26















0














Try the below:



Redirect 301 / /avec-lafh/qui-sommes-nous/presentation/


EDIT:
It looks like your using WordPress too, can you not change your homepage to a visible page, to do this:



  • Go to settings

  • Click Reading

  • Select page you'd like to be the homepage.





share|improve this answer























  • Thank you, a page was already selected and it does not load this page... I really do not understand now...

    – Julien
    Mar 25 at 22:14











  • Which page is selected? Does it use a set template? You could try using front-page.php, this will be your homepage by default.

    – Jonny
    Mar 25 at 22:15











  • Thank you for your fast answer Jonny :) Whatever page I chose, it does not work. I tried with many, that are working otherwise on the website. What is front-page.php ? How can I set this up ?

    – Julien
    Mar 25 at 22:17











  • If you name a php file front-page.php and add some dummy text, see if it pulls into your homepage?

    – Jonny
    Mar 25 at 22:23











  • Where do I need to name that php file and put it ? Via FTP ?

    – Julien
    Mar 26 at 5:26













0












0








0







Try the below:



Redirect 301 / /avec-lafh/qui-sommes-nous/presentation/


EDIT:
It looks like your using WordPress too, can you not change your homepage to a visible page, to do this:



  • Go to settings

  • Click Reading

  • Select page you'd like to be the homepage.





share|improve this answer













Try the below:



Redirect 301 / /avec-lafh/qui-sommes-nous/presentation/


EDIT:
It looks like your using WordPress too, can you not change your homepage to a visible page, to do this:



  • Go to settings

  • Click Reading

  • Select page you'd like to be the homepage.






share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 25 at 19:41









JonnyJonny

599 bronze badges




599 bronze badges












  • Thank you, a page was already selected and it does not load this page... I really do not understand now...

    – Julien
    Mar 25 at 22:14











  • Which page is selected? Does it use a set template? You could try using front-page.php, this will be your homepage by default.

    – Jonny
    Mar 25 at 22:15











  • Thank you for your fast answer Jonny :) Whatever page I chose, it does not work. I tried with many, that are working otherwise on the website. What is front-page.php ? How can I set this up ?

    – Julien
    Mar 25 at 22:17











  • If you name a php file front-page.php and add some dummy text, see if it pulls into your homepage?

    – Jonny
    Mar 25 at 22:23











  • Where do I need to name that php file and put it ? Via FTP ?

    – Julien
    Mar 26 at 5:26

















  • Thank you, a page was already selected and it does not load this page... I really do not understand now...

    – Julien
    Mar 25 at 22:14











  • Which page is selected? Does it use a set template? You could try using front-page.php, this will be your homepage by default.

    – Jonny
    Mar 25 at 22:15











  • Thank you for your fast answer Jonny :) Whatever page I chose, it does not work. I tried with many, that are working otherwise on the website. What is front-page.php ? How can I set this up ?

    – Julien
    Mar 25 at 22:17











  • If you name a php file front-page.php and add some dummy text, see if it pulls into your homepage?

    – Jonny
    Mar 25 at 22:23











  • Where do I need to name that php file and put it ? Via FTP ?

    – Julien
    Mar 26 at 5:26
















Thank you, a page was already selected and it does not load this page... I really do not understand now...

– Julien
Mar 25 at 22:14





Thank you, a page was already selected and it does not load this page... I really do not understand now...

– Julien
Mar 25 at 22:14













Which page is selected? Does it use a set template? You could try using front-page.php, this will be your homepage by default.

– Jonny
Mar 25 at 22:15





Which page is selected? Does it use a set template? You could try using front-page.php, this will be your homepage by default.

– Jonny
Mar 25 at 22:15













Thank you for your fast answer Jonny :) Whatever page I chose, it does not work. I tried with many, that are working otherwise on the website. What is front-page.php ? How can I set this up ?

– Julien
Mar 25 at 22:17





Thank you for your fast answer Jonny :) Whatever page I chose, it does not work. I tried with many, that are working otherwise on the website. What is front-page.php ? How can I set this up ?

– Julien
Mar 25 at 22:17













If you name a php file front-page.php and add some dummy text, see if it pulls into your homepage?

– Jonny
Mar 25 at 22:23





If you name a php file front-page.php and add some dummy text, see if it pulls into your homepage?

– Jonny
Mar 25 at 22:23













Where do I need to name that php file and put it ? Via FTP ?

– Julien
Mar 26 at 5:26





Where do I need to name that php file and put it ? Via FTP ?

– Julien
Mar 26 at 5:26











0














You can insert a redirect rule before default WP front controller rule:



<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^/?$ presentation [L,R=301]

RewriteRule ^index.php$ - [L]

RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
</IfModule>


Regex ^/?$ will match landing page and redirect to /presentation with 301 status code.






share|improve this answer























  • Thank you so much for your answer. This redirection does not work, I still have the same blank page on Home and everything else working :(

    – Julien
    Mar 25 at 22:14












  • Yes, unfortunately…

    – Julien
    Mar 26 at 5:47











  • Test in Chrome dev tool with caching disabled and check in Networking tab what are 301/302 redirect URLs you get.

    – anubhava
    Mar 26 at 6:31











  • Thank you for your answer. I do not get any redirection, how is that even possible... I have two requests, one for favicon and one for afh.asso.fr.

    – Julien
    Mar 26 at 8:54












  • That means this htacceas is not being used. WP might be using some proxy plug-in

    – anubhava
    Mar 27 at 2:45















0














You can insert a redirect rule before default WP front controller rule:



<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^/?$ presentation [L,R=301]

RewriteRule ^index.php$ - [L]

RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
</IfModule>


Regex ^/?$ will match landing page and redirect to /presentation with 301 status code.






share|improve this answer























  • Thank you so much for your answer. This redirection does not work, I still have the same blank page on Home and everything else working :(

    – Julien
    Mar 25 at 22:14












  • Yes, unfortunately…

    – Julien
    Mar 26 at 5:47











  • Test in Chrome dev tool with caching disabled and check in Networking tab what are 301/302 redirect URLs you get.

    – anubhava
    Mar 26 at 6:31











  • Thank you for your answer. I do not get any redirection, how is that even possible... I have two requests, one for favicon and one for afh.asso.fr.

    – Julien
    Mar 26 at 8:54












  • That means this htacceas is not being used. WP might be using some proxy plug-in

    – anubhava
    Mar 27 at 2:45













0












0








0







You can insert a redirect rule before default WP front controller rule:



<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^/?$ presentation [L,R=301]

RewriteRule ^index.php$ - [L]

RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
</IfModule>


Regex ^/?$ will match landing page and redirect to /presentation with 301 status code.






share|improve this answer













You can insert a redirect rule before default WP front controller rule:



<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^/?$ presentation [L,R=301]

RewriteRule ^index.php$ - [L]

RewriteCond %REQUEST_FILENAME !-f
RewriteCond %REQUEST_FILENAME !-d
RewriteRule . /index.php [L]
</IfModule>


Regex ^/?$ will match landing page and redirect to /presentation with 301 status code.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 25 at 20:57









anubhavaanubhava

545k48 gold badges346 silver badges421 bronze badges




545k48 gold badges346 silver badges421 bronze badges












  • Thank you so much for your answer. This redirection does not work, I still have the same blank page on Home and everything else working :(

    – Julien
    Mar 25 at 22:14












  • Yes, unfortunately…

    – Julien
    Mar 26 at 5:47











  • Test in Chrome dev tool with caching disabled and check in Networking tab what are 301/302 redirect URLs you get.

    – anubhava
    Mar 26 at 6:31











  • Thank you for your answer. I do not get any redirection, how is that even possible... I have two requests, one for favicon and one for afh.asso.fr.

    – Julien
    Mar 26 at 8:54












  • That means this htacceas is not being used. WP might be using some proxy plug-in

    – anubhava
    Mar 27 at 2:45

















  • Thank you so much for your answer. This redirection does not work, I still have the same blank page on Home and everything else working :(

    – Julien
    Mar 25 at 22:14












  • Yes, unfortunately…

    – Julien
    Mar 26 at 5:47











  • Test in Chrome dev tool with caching disabled and check in Networking tab what are 301/302 redirect URLs you get.

    – anubhava
    Mar 26 at 6:31











  • Thank you for your answer. I do not get any redirection, how is that even possible... I have two requests, one for favicon and one for afh.asso.fr.

    – Julien
    Mar 26 at 8:54












  • That means this htacceas is not being used. WP might be using some proxy plug-in

    – anubhava
    Mar 27 at 2:45
















Thank you so much for your answer. This redirection does not work, I still have the same blank page on Home and everything else working :(

– Julien
Mar 25 at 22:14






Thank you so much for your answer. This redirection does not work, I still have the same blank page on Home and everything else working :(

– Julien
Mar 25 at 22:14














Yes, unfortunately…

– Julien
Mar 26 at 5:47





Yes, unfortunately…

– Julien
Mar 26 at 5:47













Test in Chrome dev tool with caching disabled and check in Networking tab what are 301/302 redirect URLs you get.

– anubhava
Mar 26 at 6:31





Test in Chrome dev tool with caching disabled and check in Networking tab what are 301/302 redirect URLs you get.

– anubhava
Mar 26 at 6:31













Thank you for your answer. I do not get any redirection, how is that even possible... I have two requests, one for favicon and one for afh.asso.fr.

– Julien
Mar 26 at 8:54






Thank you for your answer. I do not get any redirection, how is that even possible... I have two requests, one for favicon and one for afh.asso.fr.

– Julien
Mar 26 at 8:54














That means this htacceas is not being used. WP might be using some proxy plug-in

– anubhava
Mar 27 at 2:45





That means this htacceas is not being used. WP might be using some proxy plug-in

– anubhava
Mar 27 at 2:45

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55342941%2fwordpress-homepage-blank-but-other-working%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현