New answers tagged

0

Go to "Settings" > Permalinks > [click] Save Changes You don't need to change anything in the Permalinks page, it just resets everything to correctly link up.


0

Your htaccess do not have the default wordpress related rules, go to the permalink page and save, if it it doesn't help turn off plugins.


0

This is a dirty trick and I don't have a choice but to use it. Add .php at the end: /%category%/%postname%.php Some people add .html instead. Either way, it's pretty annoying though and I don't know if it's safe.


2

Note: I am posting an answer to my own question with hopes of it being useful for developers trying to solve the same problem that my initial query proposes. As it turns out, I was viewing this with the wrong lens. The solution was not to add my entire AngularJS app and use that while trying to disguise the WordPress front-end and themes. The solution is ...


1

You can read data on your server with file_get_contents(). If you want to make sure the file exists and is readable then use is_readable(). You don't really need to use trailingslashit() in this case because you're constructing the URI yourself. // path to file under current theme $json_file = get_template_directory() . ...


0

About changing the login url, i already did by mysel. It help me protect my site and prevent brute force You can change it in htaccess. But you also need to add the filter to replace old login url in wordpress. Example to my website: File .htaccess: RewriteRule ^signin(.*) wp-login.php?%{QUERY_STRING} In your theme or custom plugin, you can add the ...


0

That's not possible with the default xampp. Windows can't work with the wildcard subdomains. The easiest way, that you switch to folder, directory structure. Alternative should help this answer with the customization of the vhost.



Top 50 recent answers are included