Write .htaccess file for single page Angular app on Wordpress

Proyek ini telah diberikan kepada arifjaunpur dengan harga £20 GBP.

Dapatkan penawaran gratis untuk proyek seperti ini
Anggaran Proyek
£10 - £20 GBP
Total Penawaran
Deskripsi Proyek

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.

Diberikan kepada:
Keahlian yang Diperlukan

Ingin menghasilkan uang?

  • Atur anggaran Anda dan jangka waktunya
  • Uraikan proposal Anda
  • Dapatkan bayaran atas pekerjaan Anda

Pekerjakan para freelancer yang juga menawar di proyek ini

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online