Тёмный

Wordpress permalinks not working 404 on apache. How to fix it? 

Linuxoid
Подписаться 2,4 тыс.
Просмотров 19 тыс.
50% 1

In this video I will show how to setup wordpress permalinks on apache and fix 404 error.
You need to do 3 steps:
1. create .htaccess files in the root wordpress directory, chown www-data, chmod 660
2. add "AllowOverride All" to your virtual host configuration
3. enable rewrite module: a2enmod rewrite

Опубликовано:

 

12 янв 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 86   
@jeenyus024
@jeenyus024 Месяц назад
7 years later, you're still a lifesaver
@wakfuankama
@wakfuankama 7 лет назад
Hi, I am new in the field of computing. I work as a new webmaster in a college. My job was to migrate a wordpress web site. I met a lot of problems qith apache. The manager threatened to fire me if the work was not done in 2 weeks. Your video is part of several others that made it possible to save my job. Tonight, I'm going to pray for your parents to have make you born. thank you very much.
@itsalat1
@itsalat1 4 года назад
You just saved my 3 days trying to fix this issue, i have done every solutions non of them working except your video,,, THANK YOU SO MUCH
@TFro3
@TFro3 4 года назад
Thank you so much! There were so many different ways explained with other sources. Yours was much simpler and worked like a charm.
@attorneybob
@attorneybob 4 года назад
After many videos, server reinstall attempts, google searches, and loss of sleep, this one solved my problem with the a2enmod direction. Thank you. I liked and subscribed as my small token of appreciation
@trevorduersch2278
@trevorduersch2278 6 лет назад
Great job Sergey! I was looking at other online stuff and nothing was working. I followed your video and it went perfectly! Спасибо, мой друг!
@prenumenume7498
@prenumenume7498 Год назад
After 6 years, this video is still usefull. Thank you a lot.
@greg_1992
@greg_1992 3 года назад
Sergey You helped me fix this issue and saved many hours of my work. Thanks a lot, mate!
@danieldewindt3919
@danieldewindt3919 3 года назад
I suppose by now you already know.... DUDE YOU'RE AMAZING! 😜 I tried almost everything and lost days on this. Thank you a lot❣️
@sonybajracharya
@sonybajracharya 9 месяцев назад
I was searching for a week. Thank you. Finally this problem solved..
@routp
@routp 3 года назад
Thank you so much, I have explore many options but this one worked because you have explained it so beautifully
@warotprapatsorn4197
@warotprapatsorn4197 5 лет назад
This solved my problem as well. Good for people who are trying to host WordPress on ec2 for the first time.
@rohitdaiya7
@rohitdaiya7 3 года назад
Thank you so much it worked. I was trying it for last 2 days. Keep posting new tutorials.
@sujoyghosh7152
@sujoyghosh7152 Год назад
Thanks a lot dude.. was been stuck with this for days. Explaination was great and easy to follow. This is literally the only solution I got for ubuntu
@matthewonassis222
@matthewonassis222 6 лет назад
You are amazing, man! Thank you so much!
@EasyTechStudios
@EasyTechStudios 5 лет назад
Thankyou so much, Perfect solution!
@ejays9019
@ejays9019 Год назад
dude, thank you so much, you are the only one who found the solution to my problem
@joejaporms
@joejaporms 6 лет назад
You are a lifesaver! Thank you so much!
@HieuNguyen-ds2bp
@HieuNguyen-ds2bp 4 года назад
You made my day. Thank you very much!!!
@BashkimUkshini
@BashkimUkshini 7 лет назад
3 hours with this SHIT! You are my hero suka!
@dianaapli4
@dianaapli4 4 года назад
Works as a charm. Thank you so much
@rizzimizzi4995
@rizzimizzi4995 5 лет назад
Man you are Awesome. I got my fixed. Thanks
@ChaseLeftwich
@ChaseLeftwich 6 лет назад
This worked for me. Thanks!!!
@vmdcortes
@vmdcortes 3 года назад
This was exactly what I needed
@prateekluther
@prateekluther 6 лет назад
thank u so so much, you explained it very very well
@efemisaktan
@efemisaktan 6 лет назад
Great Job! Thanks a lot for your helps! Best regards.
@ArpitSingh-cf3yu
@ArpitSingh-cf3yu 6 лет назад
You are great buddy...!! Keep it up!!
@beaus.6486
@beaus.6486 6 лет назад
thanks man, spend so long with this shit, now it finally worked
@renoVerior
@renoVerior 5 лет назад
Thank you friend. this is very useful for me
@jrojastv
@jrojastv 7 лет назад
Really, thanks so useful!
@nihatyldz42
@nihatyldz42 Год назад
Thank you sooo much, you rescue a 1 day.
@Yetipfote
@Yetipfote 6 лет назад
true Soviet-Russians have "Sergey" as forename AND surname honestly, thanks a ton mate!! You helped me solve this problem which took me hours!
@huynhtuan845
@huynhtuan845 3 года назад
Thanks, it helps me a lot
@carlosalonzo6677
@carlosalonzo6677 2 года назад
you deserve your like, follow and comment, thanks
@sampurnachapagain2936
@sampurnachapagain2936 3 года назад
Thanks man, it worked .
@naeemullah1028
@naeemullah1028 7 лет назад
Thank you so much for this very useful video, solved my big problem :) (thumbsup)
@ejonkus5828
@ejonkus5828 4 года назад
Thanks for your help!!!
@romans7319
@romans7319 Год назад
Thanks a lot, helped me.
@akramdesigner5410
@akramdesigner5410 2 года назад
thank you so much , you saved my day ...
@muhamadirvannugraha9916
@muhamadirvannugraha9916 4 года назад
Thanks brother, work for me.
@freelancerdev9636
@freelancerdev9636 4 года назад
thank you so much, i allow all but over ssl *443 port and was succesfull
@nihatyldz42
@nihatyldz42 Год назад
Subscribed and liked bro you are king thankssss
@miireal
@miireal Год назад
AWESOME !!!!!
@mirzakarahan7886
@mirzakarahan7886 4 года назад
Thank you my problem solved :)
@poojabs433
@poojabs433 7 лет назад
TQSM.....great relief
@samirsheikh9430
@samirsheikh9430 7 лет назад
Great! Thank You!
@abid.hasan48
@abid.hasan48 2 года назад
it works, thanks!
@Code-Matters
@Code-Matters 4 года назад
Thank you soo much this video really means alot for me ,😍🥰🥰
@jamesmungai8056
@jamesmungai8056 6 лет назад
Amazing. It worked!! almost peed myself!!!
@1millionresume
@1millionresume Год назад
Old video but still useful.
@victorma038
@victorma038 2 года назад
you are the best
@ferranec
@ferranec 5 лет назад
Thank you!!
@ivanpopov1016
@ivanpopov1016 4 года назад
Thank you.
@greengdx5363
@greengdx5363 3 года назад
au gracias. estuve muchas horas con este problema
@swatika_rawat
@swatika_rawat 3 года назад
Thanks a ton
@lyndonvillas4749
@lyndonvillas4749 4 года назад
Do you have guide for CentOS based wordpress?
@surffahren
@surffahren 4 года назад
sudo touch .htaccess command does not create the file when shh into aws server
@ikobaba6724
@ikobaba6724 5 лет назад
You're goergeous.
@devone3471
@devone3471 5 лет назад
thanks you so much
@l3aIIin23
@l3aIIin23 3 года назад
Thanks!
@EDAbrh
@EDAbrh 4 года назад
Thank you ♥
@TMV92s
@TMV92s 3 года назад
lifesaver!
@l3aIIin23
@l3aIIin23 3 года назад
THANKS!!!!
@blueblue-gb9ug
@blueblue-gb9ug 4 месяца назад
thanks you
@user-qc4by3mi4j
@user-qc4by3mi4j 2 года назад
it is good!!!
@chitulalukonde2428
@chitulalukonde2428 4 года назад
Thanks
@nihatyldz42
@nihatyldz42 Год назад
THANK YOUUU7
@RameshPyakurel1
@RameshPyakurel1 Год назад
Please anyone tell me how to open virtual host configuration in nginx server at 6:15
@shellyliaw3574
@shellyliaw3574 3 года назад
thank you for this video. is there any chance you would make a video on how to fix permalink in AWS lightsail. my permalinks become ugly after WordPress updates. The setting was set to postname correctly but all my posts and pages end with this "?v=79cba1185463". thank you in advance.
@markomilunovic2584
@markomilunovic2584 7 лет назад
thanks :)
@nasrosoft
@nasrosoft 7 лет назад
what's about this file wptest.conf ??? i'm not found it in my server !!!!! i found just ( 000-default.conf and default-ssl.conf) tnx
@trevorduersch2278
@trevorduersch2278 6 лет назад
nasro soft just use your 000-default.conf. He has a different file because of the way his virtual hosts are setup. I used the 000-default and it worked just fine.
@rizzimizzi4995
@rizzimizzi4995 5 лет назад
Hi, i have 3 files 000-default.conf , default-ssl.conf and wordpress.conf and all of these files are empty. What code should i put in my wordpess.conf ? Pleas ehelp
@rizzimizzi4995
@rizzimizzi4995 5 лет назад
UPDATE : SOLVED :)
@rahulthapa5201
@rahulthapa5201 3 года назад
thankyou bro, i was on amazon linux 2 and i just change "none" to "All"
@pavankumarkotla6805
@pavankumarkotla6805 4 года назад
i am using ngnix server where to write this code any one help me
@Mike-kr4lj
@Mike-kr4lj 6 лет назад
Hey Sergey, can you make a video of setting the www version instead of non www on apache server. There many examples on the web to do that, but when I followed them I get an ERR_TO_MANY_REDIRECTS. There are many newbies like me that have the same problem. Thanks.
@linuxoid1816
@linuxoid1816 6 лет назад
Hi Mike, sure i can make this... but a bit later, maybe on weekend... can you describe your task in more details? 1) are you doing this for wordpress on apache? 2) do you want your site to be redirected to www.site.com by default? for example, when you type site.com, it redirects to www.site.com? correct?
@Mike-kr4lj
@Mike-kr4lj 6 лет назад
Please read this all. I want to redirect site.com to www.site.com ------ the default has to be www.site.com 1) I am using wordpress and apache and ubuntu 2) I have followed every tutorial on web but I only get ERR_TO_MANY_REDIRECTS. 3) I tried put code in .htaccess 4) I tried to put code on apache virtual host config file * I have been searching for many days on web until nothing is left and nothing works and in every forum nobody is able to answer my problem. * I don't know if there is an apache missconfiguration, I am a newbie and do not understand all these complicated things. # Thanks for the reply
@linuxoid1816
@linuxoid1816 6 лет назад
Hi Mike, please check these two videos, hope it solves your problem: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yqAY-h1NrbE.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-knNb8OKMxC0.html
@trinchezito1383
@trinchezito1383 7 лет назад
thanks xD
@Ligeti15
@Ligeti15 6 лет назад
1,000,000,000^n thanks, where n > 0 (two days searching for this!!!) :-|
@resonancerealty5022
@resonancerealty5022 6 лет назад
Thank you for taking me through all this process. However it did not work for me. I don't know why, but after completing your steps, I made one more change and things started working: Here are those changes: If you try all of these, and still you don't get permalinks to work. Make these changes: Open: sudo vi /etc/apache2/sites-available/000-default.conf Copy and paste: ServerAdmin webmaster@localhost DocumentRoot /var/www/html Options Indexes FollowSymLinks AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Reference: www.digitalocean.com/community/questions/wordpress-permalinks-broken
@gogee8510
@gogee8510 7 лет назад
Thank you.
Далее
How To Setup WordPress on an Apache LAMP Server
11:47
How to enable .htaccess on apache server?
5:02
Просмотров 8 тыс.