We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am having trouble configuring "pretty URLs" with WordPress skeleton. Any advice would be much appreciated.
This is the link I am trying to access: http://projects/WordPress-Skeleton/wp/hello-world/
I am a bit confused, shouldn't it really be without the "wp" part? http://projects/WordPress-Skeleton/hello-world/
Database:
.htaccess:
wp-config.php / local-config:
The text was updated successfully, but these errors were encountered:
home url should point to / site url should point to /wp/
The simplest is to add two defines in your local config.
Ideally, you'd also play around with other urls, cookies and such.
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/'); define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp'); define('WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/content'); #define('CUSTOM_USER_TABLE', 'users'); #define('CUSTOM_USER_META_TABLE', 'usermeta'); define('WP_CONTENT_DIR', '/path/to/content'); define('COOKIEHASH', 'defaults_to_md5_site_url'); define('USER_COOKIE', 'wpuser_' . COOKIEHASH); define('PASS_COOKIE', 'wppass_' . COOKIEHASH); define('AUTH_COOKIE', 'wp_' . COOKIEHASH); define('SECURE_AUTH_COOKIE', 'wp_sec_' . COOKIEHASH); define('LOGGED_IN_COOKIE', 'wp_logged_in_' . COOKIEHASH); define('TEST_COOKIE', 'wp_test_cookie'); define('COOKIEPATH', '/'); define('SITECOOKIEPATH', '/wp'); #define('ADMIN_COOKIE_PATH', '/wp'); # /wp/wp-admin used to result in problems; maybe they're fixed define('PLUGINS_COOKIE_PATH', '/content/plugins');
Sorry, something went wrong.
No branches or pull requests
Hi,
I am having trouble configuring "pretty URLs" with WordPress skeleton. Any advice would be much appreciated.
This is the link I am trying to access:
http://projects/WordPress-Skeleton/wp/hello-world/
I am a bit confused, shouldn't it really be without the "wp" part?
http://projects/WordPress-Skeleton/hello-world/
Database:
.htaccess:
wp-config.php / local-config:
The text was updated successfully, but these errors were encountered: