Write .htaccess file for single page Angular app on Wordpress



I have a single page Angular app built using Wordpress and the JSON API.

The site uses Angular UI router, so the URLs are configured through HTML5 push state. Using the HTML5 true mode in Angular in order to remove the /#/ character from the URL, pages on the angular app are displayed correctly when they are navigated to via the index page, but they do not display when you type in a URL or refresh the page. Instead the site navigates to a related Wordpress post.

The issue is similar to this Stackoverflow post [url removed, login to view]

I am looking for someone to write an .htaccess file for the Wordpress that will route URLs through the Angular app rather than the Wordpress system. (See attached file for an example .htaccess file.) The site is hosted on a LAMP stack.

I can supply the github repository with the Angular single page app theme; a local machine running Wordpress (like VVVagrant) or similar remote environment would be required for testing.

Keahlian Angular.js, HTML, PHP, WordPress

Lihat lebih lanjut: i want create a nice template wordpress, create template wordpress freelance, wordpress create page template, create template wordpress, write htaccess file joomla, wordpress css single page, wordpress iphone app landing page, wordpress create blog template, wordpress create sub template, wordpress build single page checkout, create html email template wordpress, create sub template wordpress, joomla wordpress htaccess file, configure htaccess file wordpress, create blog template wordpress, write htaccess file redirect, write htaccess file, wordpress index page single, wordpress create template api, upload file wordpress page password, create wordpress page psd file, write programme store single matrix file write mode, redirecting dynamic startup page using htaccess file, htaccess file wordpress internal server error, find file htaccess file google page creator

ID Proyek: #11710991