Implement url rewrite support

implemented

#1

I have multiple clients complaining about the missing url rewrite support. This is a huge problem and needs to be fixed asap. Optimized SEO is what the clients want and they want easy to use urls. Please implement this asap. I’d say it’s much more importatnt than any tooltips or other low level nice to haves. Thanks in advance.


Your vote is important!
2018: The Year in Review
Urgent! route component
#2

Well if it is just url rewrite your can already implement it by your self in htaccess alike matter.

There are even some generators available:

https://www.generateit.net/mod-rewrite/index.php
https://www.webconfs.com/web-tools/url-rewriting-tool/
http://www.visiospark.com/mod-rewrite-rule-generator/

Understanding URL rewrite:
https://mediatemple.net/community/products/dv/204643270/using-htaccess-rewrite-rules

Or do you mean something else?


#3

So I did it on my own weird way on https://suitup.work/employers/exceed for instance. I used one of the generators to create code for rewrite on .htaccess.

Each employee has a tag/handle that is set by admin in backend. Could be user setting as well… That I saved as a field in db which is basically my lookup when user lands on the page.

I used this code to extract the tag from the url and place it in a hidden input field:

window.onload = function(){
  document.getElementById("txt").value = window.location.pathname.split("/").pop();
}

Then I query db using the input field value as filter and display employer details.

Downside is that the page has to load and input field filled with value before the query is triggered and there is split second delay…

This was the best solution I could come up with.


#4

Thanks George. I want to be able to use the URL rewrite with DYNAMIC URLs, with URL parameters like:

site.com/blog.php?id=3
to become
site.com/blog/title-here

This is a must have nowadays


#5

Maybe this article can help you:


#6

In order to make this work, I need to replace all references to Original URL with the New URL throughout the website. How should all the filtering with app connect/server connect work after that?


#7

There is no .htaccess functionality when on an nginx box.


#8

When using App Connect as front-end framework (and you probably are when using Wappler), you are building a dynamic client side application, fetching its data on the fly with Server Connect actions.

This can be a single page app (SPA) or a multi page app, but the specific things is that it renders its data run time on the client site.

Normally there isn’t much url change there as the data only changes and partials rendering are done, but to really to reflect the content rendering change, the url can change as well. But then a client side url change.

To do this in the best way possible we are developing a special router component that will help you define your url routing structure and even easier render partials in your page as regions.

So in other words - we are working on it :slight_smile:


#9

And all of that at 6am WET. @George, you are crazy and we love you for it :love_you_gesture:


#10

Thanks George. I hope we’ll see the extension soon.


#11

This was the only reason I did not switch to nginx @ben, but if Wappler adds back the old idea I used to use called “HTML5 Data Bindings SEO” i think then I might just be asking you for some nginx setup advice. :slight_smile:


#12

This was only required for the HTML5 Data Bindings prior to Google started rendering all the js data on your pages. There is no need of such an extension currently, as Goolge perfectly “sees” and renders all the dynamic data from your app connect pages.


#13

Am I confused then, I used to use some extension to help me alter http://www.example.com/about.php?id=10&page=3 type URLs to pretty ones that were awesome for SEO like http://www.example.com/about-paul-and-his-barking-dog/ or whatever.
I used it on a few projects but can not remember the extension name.


#14

We never had an extension which rewrites the URLs.
As George said - it is currently under development.


#15

If I ever manage to find the old project where I used this system I will probably find I did some super hacky thing to make it work, sorry for possibly misleading people. oops :blush:


#16

Hi George, any news on this? A possible release date?


#17

I’m waiting for this extension, this route extension will revolutionize the wappler
if it’s similar to framework7, it will be very cool


#18

The Route Component for Wappler Is it something like that?

http://vue-2-simple-routing-example.surge.sh/

my clients are complaining about the url of my sites made with Wappler

http://www.elianachab.com.br/detalhes.php?cod_imovel=732&valor=4200000&pagina=1

We also need to load external components


#19

Same here. Agencys are stressing my clients that non SEO url would be bad for them. Any news on a possible release date?


#20

Need more votes, more votes, more urgency