Write .htaccess file for single page Angular app on Wordpress
This project has been awarded to arifjaunpur for £20 GBP.Get free quotes for a project like this
Project Budget£10 - £20 GBP
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.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online