• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » Change page link??
Change page link??
DanielM
Posts: 86
Reputation: 0

Message # 1 | 7:10 AM
Like pages like this: http://browsergaming.ucoz.net/index/badges/0-29 , how can i get rid of 0-29 or index and just make it http://browsergaming.ucoz.net/badges/ ? Please help, thanks!
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 8:49 AM
DanielM, I'm afraid it's not possible.
I'm not active on the forum anymore. Please contact other forum staff.
Бриз
Posts: 23
Reputation: 2

Message # 3 | 3:14 AM
Sorry, I do not speak good English.
For your problem have a great solution. I realized it on my website.
Now I have to translate everything into English.
I think all this is useful to you.

To start, you need to replace 404.htm
http://get-a-free.ucoz.ru/404.htm
Just take it from me.

Next, create a folder /js/ and place it in the file users.js
http://get-a-free.ucoz.ru/js/users.js

Go back to the file manager and create a folder /css/. It put the file users.css
http://get-a-free.ucoz.ru/css/users.css

The final phase. Go to this address.
http://yoursite/panel/?a=tmpl;m=2;t=0
Before the tag </head>
Code
<script type="text/javascript">
         function go_title_this() {
          $('a[target!="blank"]').attr('target','_top');
      this_title = document.title;
      parent.go_title_parent(this_title);
         }
     </script>

In teg <body>
Code
<body onLoad="go_title_this()">


View the work of my solutions you can immediately.
http://get-a-free.ucoz.ru/

I have to remember the basics.
Code
var item = new Array("0-0", "0-1", "0-2", "0-3", "0-4", "school", "clan", "vidget");
for (i=0; i<8; i++) {

These two lines you need to set up on their own.

To start put those values​​. I'm sure they will work.
Code
var item = new Array("0-0", "0-1", "0-2", "0-3", "0-4","0-5", "0-6", "0-7", "0-8", "0-9", "0-10", "0-11", "0-12", "0-13", "0-14", "0-15", "0-16", "0-17", "0-18", "0-19", "0-20", "0-21", "0-22", "0-23", "0-24", "0-25", "0-26", "0-27", "0-28", "badges");
for (i=0; i<30; i++) {


p.s. According to the above references (404.htm / users.js) present Russian text.
You need a full translation?

Post edited by Бриз - Wednesday, 2013-08-07, 4:14 AM
PixelKhaos
Posts: 636
Reputation: 26

Message # 4 | 4:01 AM
Бриз, does this workaround send a lot of requests? I recall hearing that a similar script made sites block users because of too many requests under a short period. (Users would be blocked for hours)
Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
Бриз
Posts: 23
Reputation: 2

Message # 5 | 4:10 AM
PixelKhaos, This decision can not overload the network.
For their needs, we use 404.htm
The code appends the tag <iframe>
Duration of the page to load is too high for a few seconds. This is what we use .innerHTML
He writes the code into the <div id=contant"> after the 404.htm loads.

Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 6 | 8:26 AM
Quote (Бриз)
PixelKhaos, This decision can not overload the network.


Anything is capable of overloading the request timeout that is in place to keep the servers stable and limit instability. It depends on how sound the JS is however as to whether this occurs or not.

As to this solution I would advise against it due to the nature of the solution - it removes the existing 404 page. Until an actual 404 process has been built in I would strongly advise against it as 404 pages are an almost central element of websites nowadays.

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Бриз
Posts: 23
Reputation: 2

Message # 7 | 8:31 AM
But a 404 page not removed...
Here is an example of such a page does not exist.
http://get-a-free.ucoz.ru/oops/nan

Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 8 | 8:39 AM
Бриз,

http://get-a-free.ucoz.ru/asdasdasdasdasd

There is no 404 page for this. 404 is not a page that is supposed to be pretty or used for an alternate purpose. It is an error page processed by the server which most of the time is to be kept as simple as possible. Yes, you can have a creatively designed 404 page however it still needs to remain a 404 page.

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Бриз
Posts: 23
Reputation: 2

Message # 9 | 10:27 AM
Clearly, thanks smile

Added (2013-08-07, 4:27 AM)
---------------------------------------------
I removed the bug.
http://get-a-free.ucoz.ru/asdasdasdasdasd = HTTP 404 biggrin


3mr
Posts: 23
Reputation: 0

Message # 10 | 10:42 AM
hello, smile

What I understood from your question is that you want to replace the link of 404 error page
with Another link

what i know : From the Control Panel
Select General and then control the list

From there you can change link or name of the pages from any page Settings

But this is for the pages in the list only

i can't speak english very well and that what i under stood from your question

regards

Post edited by 3mr - Wednesday, 2013-08-07, 11:00 AM
Sunny
Posts: 9296
Reputation: 456

Message # 11 | 12:57 PM
3mr, that's not what the thread starter asked. Please try to be more attentive when trying to help. And don't use red in your posts, and other bright colors. It makes them difficult to read and draws unnecessary attention.
I'm not active on the forum anymore. Please contact other forum staff.
3mr
Posts: 23
Reputation: 0

Message # 12 | 2:15 PM
Sunny, Thanks to the alert smile

As for the question Thread What i understood is that he wants to get rid of part of the link and I thought he meant any page
God willing I will focus more to understand the question

I do not speak English very good and I'm not familiar with the English Assistance
This is new for me

regards

Post edited by 3mr - Wednesday, 2013-08-07, 2:19 PM
uCoz Community » For Webmasters » Custom Solutions » Change page link??
  • Page 1 of 1
  • 1
Search: