- Posts: 93
Question
Pretty URLs 404 - not working (webtrees-2.1.18)
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
Pretty URLs not working for me, 404 have, in facts urls are translated by .htaccess but webpages not working.
I can give access to FTP acc (via priv msg) to check whats going on around, coz it's 5th hosting server thats not working.
Appache, webtrees-2.1.18 and PHP 7, 8 etc.
If some one want check this, then great. I'm not IT amateur, but can't resolve this issue.
Please Log in or Create an account to join the conversation.
- makitso
-
- Offline
- Administrator
-
webtrees.net/faq/urls/
Rob
www.skatekey.net ( webtrees 2.2.x beta GitHub)
webtrees forum admin
Author custom css module
PHP 8.2.24
Hosted at tigertech.net
Please Log in or Create an account to join the conversation.
- fisharebest
-
- Offline
- Administrator
-
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
BTW: webtrees-2.1.18
Total files: 7236
LOC summary: 812211
Average LOC per file: 112
Please Log in or Create an account to join the conversation.
- bertkoor
-
- Offline
- Platinum Member
-
- Greetings from Utrecht, Holland
Two questions were asked in order to assist you, no response yet...
stamboom.BertKoor.nl runs on webtrees v2.2.1
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
www.webtrees.infinityfreeapp.com/system/What is the URL of your site?
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
Coz when rewrite_urls="0" then forward to other subdomain with error as hosting have. When rewrite_urls="1" then working normaly with pretty url..This public forum doesn't do email.
Two questions were asked in order to assist you, no response yet...
Then I expected to show whole configuration. Esspecially when I have 3 servers and on all this same problem.
Please Log in or Create an account to join the conversation.
- Franz Frese
-
- Offline
- Platinum Member
-
beside editing .htaccess you also have to edit
Please Log in or Create an account to join the conversation.
- fisharebest
-
- Offline
- Administrator
-
Pretty URLs are not enabled on this site.
What happens exactly? Or can you enable pretty URLs so that I can look?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
I can give access to FTP if can help. I lost any ideas what is wrong.
Please Log in or Create an account to join the conversation.
- fisharebest
-
- Offline
- Administrator
-
There are two things
1) tell webtrees to generate pretty URLs
2) tell apache to redirect pretty URLs to index.php
You said that you read the FAQ. This tells you to add a line "rewrite_urls" to your config.ini.php
I guess you did not do this.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Franz Frese
-
- Offline
- Platinum Member
-
data/config.ini.php .
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
I do. Just dont know why apache not showing pages. If You can write PW then I can sent access to ftp etc.> As I wrote.. if is configured the redirections are and nothing to see..
I guess you did not do this.
I made test for 3 diffrent hostings and this same..
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
I know.. rewrite_urls="1" and then have pretty url but 404beside editing .htaccess you also have to edit
data/config.ini.php .
Please Log in or Create an account to join the conversation.
- fisharebest
-
- Offline
- Administrator
-
Post the config.ini.php. (except the database account).
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
I have this but also not affecting without
Please Log in or Create an account to join the conversation.
- fisharebest
-
- Offline
- Administrator
-
This means DO NOT use pretty URLs.
Change it to: rewrite_urls="1"
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- webtreesFUN
-
Topic Author
- Offline
- New Member
-
- Posts: 93
www.webtrees.infinityfreeapp.com/system/
Please Log in or Create an account to join the conversation.
- fisharebest
-
- Offline
- Administrator
-
RewriteBase /webtrees
But you have installed webtrees in a folder /system.
You should change this line to /system
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.