Skip to main content
Tweeted twitter.com/StackWordPress/status/1415325235159650307
Became Hot Network Question
Please don't include links to your live site as they may be considered malicious or spam and have no value as soon as your issue got fixed
Source Link

WordPress and VueJS: routing problem

I am testing the integration of a VueJS app in WordPress. It actually works (click the links on top) https://ubernet.de/testshop (no styles.. yet).

BUT

If I access a URL like https://ubernet.de/testshop/abouthttps://example.com/my-vue-route/about, the htaccess.htaccess URL rewriting redirects any incoming httpHTTPS request to index.phpthe index.php of WordPress, so. So I actually never land on /testshop (but/my-vue-route/about but on the /about/about page, as WordPress thinks I made a typo).

Is it somehow possible to keep the vue routes out of this URL rewriting?

WordPress and VueJS: routing problem

I am testing the integration of a VueJS app in WordPress. It actually works (click the links on top) https://ubernet.de/testshop (no styles..)

BUT

If I access a URL like https://ubernet.de/testshop/about, the htaccess URL rewriting redirects any incoming http request to index.php of WordPress, so I never land on /testshop (but on the /about page, as WordPress thinks I made a typo)

Is it somehow possible to keep the vue routes out of this URL rewriting?

WordPress and VueJS routing problem

I am testing the integration of a VueJS app in WordPress. It actually works (no styles yet).

BUT

If I access a URL like https://example.com/my-vue-route/about, the .htaccess URL rewriting redirects any incoming HTTPS request to the index.php of WordPress. So I actually never land on /my-vue-route/about but on the /about page, as WordPress thinks I made a typo.

Is it somehow possible to keep the vue routes out of this URL rewriting?

deleted 33 characters in body; edited title
Source Link
butlerblog
  • 5.1k
  • 3
  • 26
  • 42

Wordpress WordPress and VueJS: routing problem

iI am testing the integration of a VueJS app in WordpressWordPress. It actually works (click the links on top) https://ubernet.de/testshop (no styles..)

BUT

if iIf I access a urlURL like https://ubernet.de/testshop/about, the htaccess urlURL rewriting redirects any incoming http request to index.php of WordpressWordPress, so iI never land on /testshop (but on the /about page, as wordpressWordPress thinks iI made a typo)

isIs it somehow possible to keep the vue routes out of this urlURL rewriting  ?

thanks in advance

Adrian

Wordpress and VueJS: routing problem

i am testing the integration of a VueJS app in Wordpress. It actually works (click the links on top) https://ubernet.de/testshop (no styles..)

BUT

if i access a url like https://ubernet.de/testshop/about, the htaccess url rewriting redirects any incoming http request to index.php of Wordpress, so i never land on /testshop (but on the /about page, as wordpress thinks i made a typo)

is it somehow possible to keep the vue routes out of this url rewriting  ?

thanks in advance

Adrian

WordPress and VueJS: routing problem

I am testing the integration of a VueJS app in WordPress. It actually works (click the links on top) https://ubernet.de/testshop (no styles..)

BUT

If I access a URL like https://ubernet.de/testshop/about, the htaccess URL rewriting redirects any incoming http request to index.php of WordPress, so I never land on /testshop (but on the /about page, as WordPress thinks I made a typo)

Is it somehow possible to keep the vue routes out of this URL rewriting?

Source Link

Wordpress and VueJS: routing problem

i am testing the integration of a VueJS app in Wordpress. It actually works (click the links on top) https://ubernet.de/testshop (no styles..)

BUT

if i access a url like https://ubernet.de/testshop/about, the htaccess url rewriting redirects any incoming http request to index.php of Wordpress, so i never land on /testshop (but on the /about page, as wordpress thinks i made a typo)

is it somehow possible to keep the vue routes out of this url rewriting ?

thanks in advance

Adrian